summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2022-02-03 14:51:18 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2022-02-03 14:51:18 +0000
commitb46d69b0333afe943b80e107916bd83e1b658b4f (patch)
treec94ef9786ccd77eeb579c8c5a432b062828f932a /synapse
parentRe-use calculated list of users instead of re-calculating in on_new_event (diff)
downloadsynapse-anoa/as_edu_fixes.tar.xz
Derive users to notify from user streams in on_new_event github/anoa/as_edu_fixes anoa/as_edu_fixes
Otherwise we were completely ignoring all users discovered from rooms being passed
to this function.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/notifier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index 5988c67d90..848fe9cc20 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -458,7 +458,7 @@ class Notifier:
                 self.appservice_handler.notify_interested_services_ephemeral(
                     stream_key,
                     new_token,
-                    users,
+                    [UserID.from_string(user_stream.user_id) for user_stream in user_streams],
                 )
             except Exception:
                 logger.exception(