diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2022-02-03 14:51:18 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2022-02-03 14:51:18 +0000 |
commit | b46d69b0333afe943b80e107916bd83e1b658b4f (patch) | |
tree | c94ef9786ccd77eeb579c8c5a432b062828f932a | |
parent | Re-use calculated list of users instead of re-calculating in on_new_event (diff) | |
download | synapse-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.
-rw-r--r-- | synapse/notifier.py | 2 |
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( |