mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 18:45:52 +03:00
Use join rather than joined, etc.
This commit is contained in:
parent
ed666d3969
commit
629cdfb124
1 changed files with 2 additions and 2 deletions
|
@ -699,7 +699,7 @@ class GroupServerStore(SQLBaseStore):
|
|||
|
||||
if row:
|
||||
return {
|
||||
"membership": "joined",
|
||||
"membership": "join",
|
||||
"is_public": row["is_public"],
|
||||
"is_privileged": row["is_admin"],
|
||||
}
|
||||
|
@ -717,7 +717,7 @@ class GroupServerStore(SQLBaseStore):
|
|||
|
||||
if row:
|
||||
return {
|
||||
"membership": "invited",
|
||||
"membership": "invite",
|
||||
}
|
||||
|
||||
return {}
|
||||
|
|
Loading…
Reference in a new issue