mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 16:34:49 -04:00
rename delete_old_state -> purge_history
(beacause it deletes more than state)
This commit is contained in:
parent
03dd745fe2
commit
671540dccf
2 changed files with 9 additions and 9 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue