mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:16:07 -04:00
Get the equalities right.
This commit is contained in:
parent
3e6a19cf09
commit
ee06023573
2 changed files with 10 additions and 4 deletions
|
@ -277,10 +277,13 @@ class MessageHandler(BaseRoomHandler):
|
|||
end_token=now_token.events_key,
|
||||
)
|
||||
|
||||
start_token = now_token.copy_and_replace("events_key", token[0])
|
||||
end_token = now_token.copy_and_replace("events_key", token[1])
|
||||
|
||||
d["messages"] = {
|
||||
"chunk": [m.get_dict() for m in messages],
|
||||
"start": token[0],
|
||||
"end": token[1],
|
||||
"start": start_token.to_string(),
|
||||
"end": end_token.to_string(),
|
||||
}
|
||||
|
||||
current_state = yield self.store.get_current_state(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue