summary refs log tree commit diff
path: root/synapse/handlers/groups_local.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-11 16:54:36 +0100
committerErik Johnston <erik@matrix.org>2017-10-11 16:59:18 +0100
commitb752507b488d223a0ab01ec3dbc7b30fee64c203 (patch)
treeb2b310d0e9ffa84890f53e6bd86b26029e64ee8d /synapse/handlers/groups_local.py
parentMerge pull request #2533 from matrix-org/erikj/fix_group_repl (diff)
downloadsynapse-b752507b488d223a0ab01ec3dbc7b30fee64c203.tar.xz
Fix fetching remote summaries
Diffstat (limited to 'synapse/handlers/groups_local.py')
-rw-r--r--synapse/handlers/groups_local.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/groups_local.py b/synapse/handlers/groups_local.py
index 50e40548c2..3b676d46bd 100644
--- a/synapse/handlers/groups_local.py
+++ b/synapse/handlers/groups_local.py
@@ -109,7 +109,7 @@ class GroupsLocalHandler(object):
             valid_users = []
             for entry in chunk:
                 g_user_id = entry["user_id"]
-                attestation = entry.pop("attestation")
+                attestation = entry.pop("attestation", {})
                 try:
                     if get_domain_from_id(g_user_id) != group_server_name:
                         yield self.attestations.verify_attestation(
@@ -202,7 +202,7 @@ class GroupsLocalHandler(object):
         valid_entries = []
         for entry in chunk:
             g_user_id = entry["user_id"]
-            attestation = entry.pop("attestation")
+            attestation = entry.pop("attestation", {})
             try:
                 if get_domain_from_id(g_user_id) != group_server_name:
                     yield self.attestations.verify_attestation(