diff options
author | Luke Barnard <lukebarnard1@users.noreply.github.com> | 2017-11-07 12:05:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-07 12:05:11 +0000 |
commit | 1bd654dabde776bbb7ee365c115b307cd6a110b8 (patch) | |
tree | 769917ca0abb14e2cab4dd979e397dd10bebe0a7 /synapse/storage/group_server.py | |
parent | Merge pull request #2576 from maximevaillancourt/exclude-noscript-url-preview (diff) | |
parent | Remember to pick is_admin out of the db (diff) | |
download | synapse-1bd654dabde776bbb7ee365c115b307cd6a110b8.tar.xz |
Merge pull request #2647 from matrix-org/luke/get-group-users-is-privileged
Return whether a user is an admin within a group
Diffstat (limited to 'synapse/storage/group_server.py')
-rw-r--r-- | synapse/storage/group_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/group_server.py b/synapse/storage/group_server.py index f6924e1a32..6b261dcc0f 100644 --- a/synapse/storage/group_server.py +++ b/synapse/storage/group_server.py @@ -54,7 +54,7 @@ class GroupServerStore(SQLBaseStore): return self._simple_select_list( table="group_users", keyvalues=keyvalues, - retcols=("user_id", "is_public",), + retcols=("user_id", "is_public", "is_admin",), desc="get_users_in_group", ) |