Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Don't return end from /messages if there are no more events #12903

Merged
merged 6 commits into from
May 30, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Don't return end if no more events
Vetchu committed May 28, 2022
commit 831d7b1d8b942110176350f4129fd068c68929ce
1 change: 0 additions & 1 deletion synapse/handlers/pagination.py
Original file line number Diff line number Diff line change
@@ -527,7 +527,6 @@ async def get_messages(
return {
"chunk": [],
"start": await from_token.to_string(self.store),
"end": await next_token.to_string(self.store),
}

state = None