diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-03-30 14:31:55 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-03-30 14:31:55 +0200 |
commit | 5462453bf2bde50166c68f90b08d24826dd07ba8 (patch) | |
tree | 8951f8c1f38cb9847419fce8874a89325da6fe54 /include/chat.php | |
parent | e4f360505466d4701ea4ac8f8bec18fac5b4c3ec (diff) | |
download | volse-hubzilla-5462453bf2bde50166c68f90b08d24826dd07ba8.tar.gz volse-hubzilla-5462453bf2bde50166c68f90b08d24826dd07ba8.tar.bz2 volse-hubzilla-5462453bf2bde50166c68f90b08d24826dd07ba8.zip |
some work on mod chat
Diffstat (limited to 'include/chat.php')
-rw-r--r-- | include/chat.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/chat.php b/include/chat.php index 81c5c5d62..8a5970cca 100644 --- a/include/chat.php +++ b/include/chat.php @@ -202,7 +202,7 @@ function chatroom_list($uid) { require_once('include/security.php'); $sql_extra = permissions_sql($uid); - $r = q("select cr_name, cr_id, count(cp_id) as cr_inroom from chatroom left join chatpresence on cr_id = cp_room where cr_uid = %d $sql_extra group by cr_name, cr_id order by cr_name", + $r = q("select allow_cid, allow_gid, deny_cid, deny_gid, cr_name, cr_id, count(cp_id) as cr_inroom from chatroom left join chatpresence on cr_id = cp_room where cr_uid = %d $sql_extra group by cr_name, cr_id order by cr_name", intval($uid) ); |