summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-11 14:32:40 +0100
committerErik Johnston <erik@matrix.org>2017-10-11 14:32:40 +0100
commit27e727a1469f336c3decc82288172923f2d46ddf (patch)
treef3bd76841fca84b6c22766f8cbd6af4206f675d2 /synapse
parentFix attestations to check correct server name (diff)
downloadsynapse-27e727a1469f336c3decc82288172923f2d46ddf.tar.xz
Fix typo
Diffstat (limited to 'synapse')
-rw-r--r--synapse/groups/groups_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py
index 6a85908dd6..1083bc2990 100644
--- a/synapse/groups/groups_server.py
+++ b/synapse/groups/groups_server.py
@@ -400,7 +400,7 @@ class GroupsServerHandler(object):
             if not is_public:
                 entry["is_public"] = False
 
-            if not self.is_mine_id(requester_user_id):
+            if not self.is_mine_id(g_user_id):
                 attestation = yield self.store.get_remote_attestation(group_id, g_user_id)
                 if not attestation:
                     continue