summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-10-13 17:19:26 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-10-13 17:19:26 +0100
commitbb407cd62401686810c49616b8cf96aabefb30b4 (patch)
tree72ea42e5b4a6b8515e156eb37441987b7f5fc61f
parentAdd some docstring (diff)
downloadsynapse-bb407cd62401686810c49616b8cf96aabefb30b4.tar.xz
Re-add accidentally removed code
-rw-r--r--synapse/handlers/federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index 8606c0d285..f10e5192e2 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -162,7 +162,7 @@ class FederationHandler(BaseHandler):
                     auth_ids = [e_id for e_id, _ in e.auth_events]
                     auth = {
                         (e.type, e.state_key): e for e in auth_chain
-                        if e.event_id in auth_ids
+                        if e.event_id in auth_ids or e.type == EventTypes.Create
                     }
                     event_infos.append({
                         "event": e,