Skip to content
Snippets Groups Projects
Commit e5ab9cd2 authored by Erik Johnston's avatar Erik Johnston
Browse files

Don't unnecessarily require token to be stream token

This allows calling the `get_recent_event_ids_for_room` function in more
situations.
parent c4af4c24
No related branches found
No related tags found
No related merge requests found
......@@ -407,7 +407,7 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore):
if limit == 0:
defer.returnValue(([], end_token))
end_token = RoomStreamToken.parse_stream_token(end_token)
end_token = RoomStreamToken.parse(end_token)
rows, token = yield self.runInteraction(
"get_recent_event_ids_for_room", self._paginate_room_events_txn,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment