Re-add accidentally removed code

This commit is contained in:
Daniel Wagner-Hall 2015-10-13 17:19:26 +01:00
parent 95e53ac535
commit bb407cd624

View File

@ -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,