Add missing comma so that it generates a dict and not a set

This commit is contained in:
Erik Johnston 2015-02-20 14:08:42 +00:00
parent 894a89d99b
commit 2bafeca270

View File

@ -875,7 +875,7 @@ class FederationHandler(BaseHandler):
local_view = dict(auth_events)
remote_view = dict(auth_events)
remote_view.update({
(d.type, d.state_key) for d in different_events
(d.type, d.state_key): d for d in different_events
})
new_state, prev_state = self.state_handler.resolve_events(