From 76afa0f8c15709cec1cdfc17a790f1908e09d08a Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Sun, 19 Mar 2023 21:02:53 -0600 Subject: [PATCH] Disable spammy appservice ephemeral streams --- synapse/handlers/appservice.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/synapse/handlers/appservice.py b/synapse/handlers/appservice.py index 7de7bd3289c8..e4f5f7c78d57 100644 --- a/synapse/handlers/appservice.py +++ b/synapse/handlers/appservice.py @@ -251,9 +251,10 @@ def notify_interested_services_ephemeral( # Only the following streams are currently supported. # FIXME: We should use constants for these values. if stream_key not in ( - StreamKeyType.TYPING, - StreamKeyType.RECEIPT, - StreamKeyType.PRESENCE, + # T2B: Disable spammy ephemeral event streams + # StreamKeyType.TYPING, + # StreamKeyType.RECEIPT, + # StreamKeyType.PRESENCE, StreamKeyType.TO_DEVICE, StreamKeyType.DEVICE_LIST, ):