mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 14:56:42 -04:00
is_joinable -> join_rule
This commit is contained in:
parent
f8d1917fce
commit
ae85c7804e
2 changed files with 2 additions and 5 deletions
|
@ -57,15 +57,12 @@ class GroupServerStore(SQLBaseStore):
|
|||
},
|
||||
retcols=(
|
||||
"name", "short_description", "long_description",
|
||||
"avatar_url", "is_public", "is_joinable",
|
||||
"avatar_url", "is_public", "join_rule",
|
||||
),
|
||||
allow_none=True,
|
||||
desc="get_group",
|
||||
)
|
||||
|
||||
if ret and 'is_joinable' in ret:
|
||||
ret['is_joinable'] = bool(ret['is_joinable'])
|
||||
|
||||
defer.returnValue(ret)
|
||||
|
||||
def get_users_in_group(self, group_id, include_private=False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue