summary refs log tree commit diff
path: root/synapse/notifier.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-10-09 07:20:51 -0400
committerGitHub <noreply@github.com>2020-10-09 07:20:51 -0400
commita93f3121f8fd1c2b77e003d8e43ce881635bb098 (patch)
tree2abb73eb4b3fe2334ab5b2c162c1224189740959 /synapse/notifier.py
parentInvalidate the cache when an olm fallback key is uploaded (#8501) (diff)
downloadsynapse-a93f3121f8fd1c2b77e003d8e43ce881635bb098.tar.xz
Add type hints to some handlers (#8505)
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r--synapse/notifier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index 59415f6f88..13adeed01e 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -339,7 +339,7 @@ class Notifier:
         self,
         stream_key: str,
         new_token: Union[int, RoomStreamToken],
-        users: Collection[UserID] = [],
+        users: Collection[Union[str, UserID]] = [],
         rooms: Collection[str] = [],
     ):
         """ Used to inform listeners that something has happened event wise.