mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 16:16:07 -04:00
Add update group profile API
This commit is contained in:
parent
14a34f12d7
commit
6f443a74cf
5 changed files with 52 additions and 0 deletions
|
@ -860,6 +860,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="create_group",
|
||||
)
|
||||
|
||||
def get_attestations_need_renewals(self, valid_until_ms):
|
||||
"""Get all attestations that need to be renewed until givent time
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue