mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-16 00:13:54 +01:00
de-lint, quote consistency
This commit is contained in:
parent
db2fd801f7
commit
020a501354
1 changed files with 2 additions and 2 deletions
|
@ -412,7 +412,7 @@ class GroupsServerHandler(object):
|
||||||
"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