Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Make it work
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Barnard committed Oct 26, 2017
1 parent 007cd48 commit 69e8a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/groups/groups_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def check_group_is_ours(self, group_id, requester_user_id,
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:
Expand Down

0 comments on commit 69e8a05

Please sign in to comment.