summary refs log tree commit diff
path: root/synapse/storage/group_server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-07-24 14:54:05 +0100
committerErik Johnston <erik@matrix.org>2017-07-24 14:54:05 +0100
commit629cdfb124c013c07b50116386d05162e40871aa (patch)
treee743ab6c3e751a6b34566012d543faede801cce7 /synapse/storage/group_server.py
parentFix all the typos (diff)
downloadsynapse-629cdfb124c013c07b50116386d05162e40871aa.tar.xz
Use join rather than joined, etc.
Diffstat (limited to 'synapse/storage/group_server.py')
-rw-r--r--synapse/storage/group_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/group_server.py b/synapse/storage/group_server.py
index 357111e305..9c55e10e77 100644
--- a/synapse/storage/group_server.py
+++ b/synapse/storage/group_server.py
@@ -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 {}