mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-18 16:02:15 +01:00
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:
parent
3de57e7062
commit
01209382fb
2 changed files with 2 additions and 0 deletions
1
changelog.d/6884.feature
Normal file
1
changelog.d/6884.feature
Normal file
|
@ -0,0 +1 @@
|
|||
Filter out m.room.aliases from /sync state blocks until a full fix lands.
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue