diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-10-09 07:20:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-09 07:20:51 -0400 |
commit | a93f3121f8fd1c2b77e003d8e43ce881635bb098 (patch) | |
tree | 2abb73eb4b3fe2334ab5b2c162c1224189740959 /synapse/notifier.py | |
parent | Invalidate the cache when an olm fallback key is uploaded (#8501) (diff) | |
download | synapse-a93f3121f8fd1c2b77e003d8e43ce881635bb098.tar.xz |
Add type hints to some handlers (#8505)
Diffstat (limited to 'synapse/notifier.py')
-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 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. |