diff options
author | Travis Ralston <travpc@gmail.com> | 2020-08-24 11:48:50 -0600 |
---|---|---|
committer | Travis Ralston <travpc@gmail.com> | 2020-08-24 11:48:50 -0600 |
commit | e70810934f3f7ea5d2bbf83da3d7f20df63fd705 (patch) | |
tree | 584a053d6fe5afb6af6c429e938713e1c383546b | |
parent | Add rudimentary API for promoting/demoting other people in a group (diff) | |
download | synapse-github/bbz/info-mainline-1.15.tar.xz |
Fix group server for older synapse github/bbz/info-mainline-1.15 bbz/info-mainline-1.15
-rw-r--r-- | synapse/storage/data_stores/main/group_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/group_server.py b/synapse/storage/data_stores/main/group_server.py index f6d9935230..787ce9e584 100644 --- a/synapse/storage/data_stores/main/group_server.py +++ b/synapse/storage/data_stores/main/group_server.py @@ -1012,7 +1012,7 @@ class GroupServerStore(GroupServerWorkerStore): ) def change_user_admin_in_group(self, group_id, user_id, is_admin): - return self.db_pool.simple_update( + return self.db.simple_update( table="group_users", keyvalues={"group_id": group_id, "user_id": user_id}, updatevalues={"is_admin": is_admin}, |