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

filter out m.room.aliases from /sync state blocks #6884

Merged
merged 5 commits into from
Feb 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions changelog.d/6884.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Filter out m.room.aliases from /sync state blocks until a full fix lands.
1 change: 1 addition & 0 deletions synapse/handlers/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,7 @@ async def compute_state_delta(
for e in sync_config.filter_collection.filter_room_state(
list(state.values())
)
if e.type != EventTypes.Aliases # until MSC2261 or alternative solution
}

async def unread_notifs_for_room_id(self, room_id, sync_config):
Expand Down