From a94ddbc7425e06fe9f39f48f03b7ceaf1fb60c3b 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 4b33e1330d0b..9c2800927e27 100644 --- a/synapse/handlers/appservice.py +++ b/synapse/handlers/appservice.py @@ -259,9 +259,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, ):