summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-01-15 18:13:47 +0000
committerGitHub <noreply@github.com>2020-01-15 18:13:47 +0000
commit19a1aac48cc83fe41287a97bb0a96280a0e8c565 (patch)
tree57842e7ba7899321ba1393501f94ac5befea6da6 /synapse/storage
parentRemove duplicate session check in web fallback servlet (#6702) (diff)
downloadsynapse-19a1aac48cc83fe41287a97bb0a96280a0e8c565.tar.xz
Fix purge_room admin API (#6711)
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/purge_events.py2
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):