Skip to content
Snippets Groups Projects
Commit 12431467 authored by Luke Barnard's avatar Luke Barnard
Browse files

group is dict

parent 6362298f
No related branches found
No related tags found
No related merge requests found
......@@ -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 group and not is_user_in_group and not group.is_public:
if group and not is_user_in_group and not group["is_public"]:
raise SynapseError(404, "Unknown group")
if and_is_admin:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment