Skip to content

Commit

Permalink
Disable spammy appservice ephemeral streams
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Mar 28, 2023
1 parent d0b5994 commit f197757
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions synapse/handlers/appservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
):
Expand Down

0 comments on commit f197757

Please sign in to comment.