diff options
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r-- | synapse/notifier.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py index 1acd899fab..d9dc50e146 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -378,7 +378,7 @@ class Notifier: self, stream_key: str, new_token: Union[int, RoomStreamToken], - users: Optional[Collection[Union[str, UserID]]] = None, + users: Collection[Union[str, UserID]], ) -> None: """Notify application services of ephemeral event activity. @@ -392,7 +392,7 @@ class Notifier: if isinstance(new_token, int): stream_token = new_token self.appservice_handler.notify_interested_services_ephemeral( - stream_key, stream_token, users or [] + stream_key, stream_token, users ) except Exception: logger.exception("Error notifying application services of event") |