diff options
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r-- | Zotlabs/Widget/Activity_filter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Activity_filter.php b/Zotlabs/Widget/Activity_filter.php index 84b9ec24a..ae5c0af6e 100644 --- a/Zotlabs/Widget/Activity_filter.php +++ b/Zotlabs/Widget/Activity_filter.php @@ -15,7 +15,7 @@ class Activity_filter { $filter_active = false; $tabs = []; -/* leave this commented out until ready for primetime + if(x($_GET,'dm')) { $dm_active = (($_GET['dm'] == 1) ? 'active' : ''); $filter_active = 'dm'; @@ -28,7 +28,7 @@ class Activity_filter { 'sel' => $dm_active, 'title' => t('Show direct (private) messages') ]; -*/ + if(Apps::system_app_installed(local_channel(), 'Privacy Groups')) { $groups = q("SELECT * FROM pgrp WHERE deleted = 0 AND uid = %d ORDER BY gname ASC", intval(local_channel()) |