mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 00:03:16 +00:00
Make it work
This commit is contained in:
1 parent
007cd48af6
commit
69e8a05f35
1 file changed
+1
-1
@@ -69,7 +69,7 @@ class GroupsServerHandler(object):
|
||||
raise SynapseError(404, "Unknown group")
|
||||
|
||||
is_user_in_group = yield self.store.is_user_in_group(requester_user_id, group_id)
|
||||
if is_user_in_group or not group.is_public:
|
||||
if not is_user_in_group or not group.is_public:
|
||||
raise SynapseError(404, "Unknown group")
|
||||
|
||||
if and_is_admin:
|
||||
|
||||
Reference in new issue
Block a user