summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-23 17:12:00 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-23 17:12:00 +0000
commitd83725c9dcf25657f16fe01a08006bf8a351a43b (patch)
treeb5a16e1f18af531bbb1590155fa4dad20ae41ad4
parentAdd an additional test to the SyTest blacklist for worker mode. (#6883) (diff)
parentfilter out m.room.aliases from /sync state blocks (#6884) (diff)
downloadsynapse-d83725c9dcf25657f16fe01a08006bf8a351a43b.tar.xz
filter out m.room.aliases from /sync state blocks (#6884)
* commit '01209382f':
  filter out m.room.aliases from /sync state blocks (#6884)
-rw-r--r--changelog.d/6884.feature1
-rw-r--r--synapse/handlers/sync.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/6884.feature b/changelog.d/6884.feature
new file mode 100644

index 0000000000..4f6b9630b8 --- /dev/null +++ b/changelog.d/6884.feature
@@ -0,0 +1 @@ +Filter out m.room.aliases from /sync state blocks until a full fix lands. diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index f8d60d32ba..4324bc702e 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py
@@ -932,6 +932,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(