rename delete_old_state -> purge_history

(beacause it deletes more than state)
This commit is contained in:
Richard van der Hoff 2018-02-07 17:27:08 +00:00
parent 03dd745fe2
commit 671540dccf
2 changed files with 9 additions and 9 deletions

View file

@ -72,7 +72,7 @@ class MessageHandler(BaseHandler):
depth = event.depth
with (yield self.pagination_lock.write(room_id)):
yield self.store.delete_old_state(room_id, depth)
yield self.store.purge_history(room_id, depth)
@defer.inlineCallbacks
def get_messages(self, requester, room_id=None, pagin_config=None,