summary refs log tree commit diff
path: root/synapse/handlers
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 /synapse/handlers
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)
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/sync.py1
1 files changed, 1 insertions, 0 deletions
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(