aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Acl.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-01-18 14:23:23 +0000
committerMario <mario@mariovavti.com>2020-01-18 14:23:23 +0000
commit9eeccc087dbba93d5d67c242666fe257cc35f3ee (patch)
tree907764a9a53f805f310a37c6a56d6dda7b9778af /Zotlabs/Module/Acl.php
parent7404a8ec1a0980fa3448ca6b05e410ea36c6a5f2 (diff)
downloadvolse-hubzilla-9eeccc087dbba93d5d67c242666fe257cc35f3ee.tar.gz
volse-hubzilla-9eeccc087dbba93d5d67c242666fe257cc35f3ee.tar.bz2
volse-hubzilla-9eeccc087dbba93d5d67c242666fe257cc35f3ee.zip
move mail frontend to addons and remove mail app from system apps
Diffstat (limited to 'Zotlabs/Module/Acl.php')
-rw-r--r--Zotlabs/Module/Acl.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Acl.php b/Zotlabs/Module/Acl.php
index 82c156a9c..b4c1ab124 100644
--- a/Zotlabs/Module/Acl.php
+++ b/Zotlabs/Module/Acl.php
@@ -42,7 +42,7 @@ class Acl extends \Zotlabs\Web\Controller {
// $type =
- // 'm' => autocomplete private mail recipient (checks post_mail permission)
+ // 'm' => autocomplete private mail recipient (checks post_mail permission and displays only zot, diaspora, friendica-over-diaspora xchan_network xchan's)
// 'a' => autocomplete connections (mod_connections, mod_poke, mod_sources, mod_photos)
// 'x' => nav search bar autocomplete (match any xchan)
// $_REQUEST['query'] contains autocomplete search text.
@@ -286,6 +286,7 @@ class Acl extends \Zotlabs\Web\Controller {
FROM abook left join xchan on abook_xchan = xchan_hash
WHERE abook_channel = %d
and xchan_deleted = 0
+ and xchan_network IN ('zot', 'diapora', 'friendica-over-diaspora')
$sql_extra3
ORDER BY xchan_name ASC ",
intval(local_channel())