Fix the backlog event execution.

This commit is contained in:
poljar (Damir Jelić) 2018-02-24 13:28:51 +01:00
parent 542b0bb5af
commit ae8aba1a3c

View file

@ -270,7 +270,7 @@ class MatrixBacklogEvent(MatrixEvent):
tags = tags_for_message("backlog") tags = tags_for_message("backlog")
for event in self.events: for event in self.events:
event.execute(room, buf, list(tags)) event.execute(self.server, room, buf, list(tags))
room.prev_batch = self.end_token room.prev_batch = self.end_token
room.backlog_pending = False room.backlog_pending = False