From f197757b883cb234e57fb2aff8192255ff6c41ce 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 ec3ab968e925..00010c0a96a1 100644 --- a/synapse/handlers/appservice.py +++ b/synapse/handlers/appservice.py @@ -240,9 +240,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, ):