mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Store whether the user wants to publicise their membership of a group
This commit is contained in:
parent
a1e67bcb97
commit
05e21285aa
3 changed files with 7 additions and 0 deletions
|
@ -840,6 +840,7 @@ class GroupServerStore(SQLBaseStore):
|
|||
is_admin=False, content={},
|
||||
local_attestation=None,
|
||||
remote_attestation=None,
|
||||
is_publicised=False,
|
||||
):
|
||||
"""Registers that a local user is a member of a (local or remote) group.
|
||||
|
||||
|
@ -873,6 +874,7 @@ class GroupServerStore(SQLBaseStore):
|
|||
"user_id": user_id,
|
||||
"is_admin": is_admin,
|
||||
"membership": membership,
|
||||
"is_publicised": is_publicised,
|
||||
"content": json.dumps(content),
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue