summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 {}