diff options
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/group_server.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/synapse/storage/group_server.py b/synapse/storage/group_server.py index 5006ac863f..d42e215b26 100644 --- a/synapse/storage/group_server.py +++ b/synapse/storage/group_server.py @@ -876,6 +876,17 @@ class GroupServerStore(SQLBaseStore): desc="create_group", ) + @defer.inlineCallbacks + def update_group_profile(self, group_id, profile,): + yield self._simple_update_one( + table="groups", + keyvalues={ + "group_id": group_id, + }, + updatevalues=profile, + desc="update_group_profile", + ) + def get_attestations_need_renewals(self, valid_until_ms): """Get all attestations that need to be renewed until givent time """ |