diff options
author | Mario <mario@mariovavti.com> | 2021-06-17 07:33:46 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-06-17 07:33:46 +0000 |
commit | fa076efd3bd953863f01bcb474ddb4fc928507e7 (patch) | |
tree | d1a6f9e97ac919f91f7658aa16132565deae014a /Zotlabs/Module/Acl.php | |
parent | 9b71c090c5c8d051e6997c4a39241bbbd5cb6cee (diff) | |
parent | b55676d08914d58927b5503a1bfa283397cd6d44 (diff) | |
download | volse-hubzilla-fa076efd3bd953863f01bcb474ddb4fc928507e7.tar.gz volse-hubzilla-fa076efd3bd953863f01bcb474ddb4fc928507e7.tar.bz2 volse-hubzilla-fa076efd3bd953863f01bcb474ddb4fc928507e7.zip |
Merge branch 'dm' into 'dev'
New landing page HQ with separate views for direct messages, public/limited messages and starred messages if the feature is enabled
See merge request hubzilla/core!1969
Diffstat (limited to 'Zotlabs/Module/Acl.php')
-rw-r--r-- | Zotlabs/Module/Acl.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Acl.php b/Zotlabs/Module/Acl.php index 862a97bdc..7373de899 100644 --- a/Zotlabs/Module/Acl.php +++ b/Zotlabs/Module/Acl.php @@ -222,6 +222,7 @@ class Acl extends \Zotlabs\Web\Controller { WHERE (abook_channel = %d $extra_channels_sql) AND abook_blocked = 0 and abook_pending = 0 and xchan_deleted = 0 $sql_extra2 order by $order_extra2 xchan_name asc" , intval(local_channel()) ); + if($r2) $r = array_merge($r2,$r); @@ -282,13 +283,12 @@ class Acl extends \Zotlabs\Web\Controller { } } elseif($type == 'm') { - $r = array(); $z = q("SELECT xchan_hash as hash, xchan_name as name, xchan_network as net, xchan_addr as nick, xchan_photo_s as micro, xchan_url as url FROM abook left join xchan on abook_xchan = xchan_hash WHERE abook_channel = %d and xchan_deleted = 0 - and xchan_network IN ('zot', 'diaspora', 'friendica-over-diaspora') + and not xchan_network IN ('rss', 'anon', 'unknown') $sql_extra3 ORDER BY xchan_name ASC ", intval(local_channel()) |