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

We forgot to filter out aliases from /sync state blocks as well as the timeline.
This commit is contained in:
Matthew Hodgson 2020-02-10 18:07:35 +00:00 committed by GitHub
parent 3de57e7062
commit 01209382fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog.d/6884.feature Normal file
View file

@ -0,0 +1 @@
Filter out m.room.aliases from /sync state blocks until a full fix lands.

View file

@ -883,6 +883,7 @@ class SyncHandler(object):
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):