mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 09:43:52 +01:00
de-lint, quote consistency
This commit is contained in:
parent
db2fd801f7
commit
020a501354
1 changed files with 2 additions and 2 deletions
|
@ -411,8 +411,8 @@ class GroupsServerHandler(object):
|
||||||
"name", "short_description", "long_description",
|
"name", "short_description", "long_description",
|
||||||
"avatar_url", "is_public",
|
"avatar_url", "is_public",
|
||||||
]
|
]
|
||||||
group_description = { key: group[key] for key in cols }
|
group_description = {key: group[key] for key in cols}
|
||||||
group_description["is_openly_joinable"] = group['join_policy'] == "open"
|
group_description["is_openly_joinable"] = group["join_policy"] == "open"
|
||||||
|
|
||||||
defer.returnValue(group_description)
|
defer.returnValue(group_description)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue