0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-22 20:54:21 +01:00

Use join rather than joined, etc.

This commit is contained in:
Erik Johnston 2017-07-24 14:54:05 +01:00
parent ed666d3969
commit 629cdfb124

View file

@ -699,7 +699,7 @@ class GroupServerStore(SQLBaseStore):
if row: if row:
return { return {
"membership": "joined", "membership": "join",
"is_public": row["is_public"], "is_public": row["is_public"],
"is_privileged": row["is_admin"], "is_privileged": row["is_admin"],
} }
@ -717,7 +717,7 @@ class GroupServerStore(SQLBaseStore):
if row: if row:
return { return {
"membership": "invited", "membership": "invite",
} }
return {} return {}