Add purge_history API

This commit is contained in:
Erik Johnston 2016-07-05 10:28:51 +01:00
parent a67bf0b074
commit 2d21d43c34
4 changed files with 38 additions and 1 deletions

View file

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