From 1063486ddd7d113d9b5ab49b642bace9f6191ff4 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 6429545c98d5..ca7e3687d243 100644 --- a/synapse/handlers/appservice.py +++ b/synapse/handlers/appservice.py @@ -250,9 +250,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, ):