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
|
@ -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(
|
for e in sync_config.filter_collection.filter_room_state(
|
||||||
list(state.values())
|
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):
|
async def unread_notifs_for_room_id(self, room_id, sync_config):
|
||||||
|
|
Loading…
Reference in New Issue