From 4a77b6673ba7618157560557a9af64e19b69612a Mon Sep 17 00:00:00 2001 From: zotlabs Date: Fri, 28 Jun 2019 00:05:25 +0000 Subject: support zot and zot6 in social graph operations (suggestions, common friends) (cherry picked from commit 9def9a5cb7ab7799911013580c714605e9698122) --- include/socgraph.php | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'include/socgraph.php') diff --git a/include/socgraph.php b/include/socgraph.php index 6cddbbaac..3d26f5cfd 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -1,5 +1,10 @@ 0 and allow_cid = '' and allow_gid = '' and deny_cid = '' and deny_gid = '' and mitem_channel_id = %d", + $rooms = q("select * from menu_item where ( mitem_flags & " . intval(MENU_ITEM_CHATROOM) . " ) > 0 and allow_cid = '' and allow_gid = '' and deny_cid = '' and deny_gid = '' and mitem_channel_id = %d", intval($channel_id) ); } -- cgit v1.2.3