summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage')
-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 9c55e10e77..f44e80b514 100644
--- a/synapse/storage/group_server.py
+++ b/synapse/storage/group_server.py
@@ -678,12 +678,12 @@ class GroupServerStore(SQLBaseStore):
         Example if joined:
 
             {
-                "membership": "joined",
+                "membership": "join",
                 "is_public": True,
                 "is_privileged": False,
             }
 
-        Returns an empty dict if the user is not joined/invited/etc
+        Returns an empty dict if the user is not join/invite/etc
         """
         def _get_users_membership_in_group_txn(txn):
             row = self._simple_select_one_txn(