mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-12 22:19:26 -05: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
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 New Issue
Block a user