0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 23:23:50 +01:00

de-lint, quote consistency

This commit is contained in:
Luke Barnard 2018-04-06 16:02:06 +01:00
parent db2fd801f7
commit 020a501354

View file

@ -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: