forked from girlbossceo/conduwuit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement room.timeline.(not_)rooms filter on /sync
I asked in #matrix-spec:matrix.org and go clarification that we should be omitting the timeline field completely for rooms that are filtered out by the timeline.(not_)rooms filter. Ruma's skip_serializing_if attribute on the timeline field will currently cause it to be omitted when events is empty. If [this fix][1] is merged, it will be omitted only when events is empty, prev_batch is None, and limited is false. [1]: ruma/ruma#1796
- Loading branch information
Showing
2 changed files
with
38 additions
and
15 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
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