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 17:49:39 +0100
committerErik Johnston <erik@matrix.org>2017-07-24 17:49:39 +0100
commit966a70f1fa74192866ff5b0dbae67ee8f490d97d (patch)
tree14f7062f7375b60adc0199d5166665b4a8cfa7dd /synapse/storage/group_server.py
parentUse join rather than joined, etc. (diff)
downloadsynapse-966a70f1fa74192866ff5b0dbae67ee8f490d97d.tar.xz
Update comment
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 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(