-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(base): Fix a bug when an invite has no
timestamp
.
The sliding sync proxy has a bug: despite the presence of `m.room.create` in `bump_event_types`, an invite with an `m.room.create` event will not have a `timestamp`. Thus, such a room cannot be sorted reliably. This patch fixes this problem with a terrible hack, where it tries to find an `origin_server_ts` value from within the `invite_state` state events. Please read the comment to learn more.
- Loading branch information
Showing
1 changed file
with
126 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters