Clean out event_forward_extremities table when the server rejoins the room

This commit is contained in:
Erik Johnston 2015-03-18 11:19:47 +00:00
parent 93978c5e2b
commit bb24609158
2 changed files with 14 additions and 0 deletions

View file

@ -290,6 +290,8 @@ class FederationHandler(BaseHandler):
"""
logger.debug("Joining %s to %s", joinee, room_id)
yield self.store.clean_room_for_join(room_id)
origin, pdu = yield self.replication_layer.make_join(
target_hosts,
room_id,