diff options
author | Luke Barnard <lukeb@openmarket.com> | 2017-10-26 17:55:58 +0100 |
---|---|---|
committer | Luke Barnard <lukeb@openmarket.com> | 2017-10-26 17:55:58 +0100 |
commit | 69e8a05f355f24bb1377b7d39812f98ea9f28bb4 (patch) | |
tree | abf53747e880c570ad6de979113d46d3c47583f0 /synapse/groups | |
parent | Recreate groups table instead of adding column (diff) | |
download | synapse-69e8a05f355f24bb1377b7d39812f98ea9f28bb4.tar.xz |
Make it work
Diffstat (limited to 'synapse/groups')
-rw-r--r-- | synapse/groups/groups_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py index 75634febd0..eac2f41768 100644 --- a/synapse/groups/groups_server.py +++ b/synapse/groups/groups_server.py @@ -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: |