diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-01-16 20:24:17 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-01-16 20:24:17 +0000 |
commit | 842c2cfbf1e9f3e0d9251fa0c572eba9d6af6dbe (patch) | |
tree | 9daf7d044e64e6ce9d5f129db2c95bd972ff5ed7 /synapse/rest/admin/__init__.py | |
parent | Lint (diff) | |
download | synapse-842c2cfbf1e9f3e0d9251fa0c572eba9d6af6dbe.tar.xz |
Remove get_room_event_after_stream_ordering entirely
Diffstat (limited to 'synapse/rest/admin/__init__.py')
-rw-r--r-- | synapse/rest/admin/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/admin/__init__.py b/synapse/rest/admin/__init__.py index a10b4a9b72..2932fe2123 100644 --- a/synapse/rest/admin/__init__.py +++ b/synapse/rest/admin/__init__.py @@ -107,7 +107,7 @@ class PurgeHistoryRestServlet(RestServlet): stream_ordering = await self.store.find_first_stream_ordering_after_ts(ts) - r = await self.store.get_room_event_after_stream_ordering( + r = await self.store.get_room_event_before_stream_ordering( room_id, stream_ordering ) if not r: |