diff options
author | Erik Johnston <erik@matrix.org> | 2020-01-15 18:13:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-15 18:13:47 +0000 |
commit | 19a1aac48cc83fe41287a97bb0a96280a0e8c565 (patch) | |
tree | 57842e7ba7899321ba1393501f94ac5befea6da6 /synapse/storage | |
parent | Remove duplicate session check in web fallback servlet (#6702) (diff) | |
download | synapse-19a1aac48cc83fe41287a97bb0a96280a0e8c565.tar.xz |
Fix purge_room admin API (#6711)
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/purge_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/purge_events.py b/synapse/storage/purge_events.py index d6a7bd7834..fdc0abf5cf 100644 --- a/synapse/storage/purge_events.py +++ b/synapse/storage/purge_events.py @@ -34,7 +34,7 @@ class PurgeEventsStorage(object): """ state_groups_to_delete = yield self.stores.main.purge_room(room_id) - yield self.stores.main.purge_room_state(room_id, state_groups_to_delete) + yield self.stores.state.purge_room_state(room_id, state_groups_to_delete) @defer.inlineCallbacks def purge_history(self, room_id, token, delete_local_events): |