summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-01-17 14:23:51 +0000
committerGitHub <noreply@github.com>2020-01-17 14:23:51 +0000
commit3b72bb780a000dc58bb53899e5cba301cca2b8f4 (patch)
treeb72eee5d64ec2794d244f682a30c94bdc41fe9d6 /synapse/rest
parentbump version to v1.9.0.dev1 (diff)
parentPrecise changelog (diff)
downloadsynapse-3b72bb780a000dc58bb53899e5cba301cca2b8f4.tar.xz
Merge pull request #6714 from matrix-org/babolivier/retention_select_event
Fix instantiation of message retention purge jobs
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/admin/__init__.py2
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: