diff options
author | Jonathan de Jong <jonathan@automatia.nl> | 2021-04-05 15:10:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 09:10:18 -0400 |
commit | e2b8a90897e137fd118768a3bf35b70642916eb7 (patch) | |
tree | 60562fb54b2af8c61e940624f6821cbacf98a06c /synapse/notifier.py | |
parent | Fix version for bugbear (#9734) (diff) | |
download | synapse-e2b8a90897e137fd118768a3bf35b70642916eb7.tar.xz |
Update mypy configuration: `no_implicit_optional = True` (#9742)
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 d35c1f3f02..c178db57e3 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -548,7 +548,7 @@ class Notifier: pagination_config: PaginationConfig, timeout: int, is_guest: bool = False, - explicit_room_id: str = None, + explicit_room_id: Optional[str] = None, ) -> EventStreamResult: """For the given user and rooms, return any new events for them. If there are no new events wait for up to `timeout` milliseconds for any |