diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-02-08 09:15:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-08 09:15:59 -0500 |
commit | 6c0984e3f007de469af74d8b6a432c8704633b03 (patch) | |
tree | 556699664b62431032555024fff93ff4c77b1b65 /synapse/handlers | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-6c0984e3f007de469af74d8b6a432c8704633b03.tar.xz |
Remove unnecessary ignores due to Twisted upgrade. (#11939)
Twisted 22.1.0 fixed some internal type hints, allowing Synapse to remove ignore calls for parameters to connectTCP.
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/send_email.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/send_email.py b/synapse/handlers/send_email.py index 1a062a784c..a305a66860 100644 --- a/synapse/handlers/send_email.py +++ b/synapse/handlers/send_email.py @@ -106,7 +106,7 @@ async def _sendmail( factory = build_sender_factory(hostname=smtphost if enable_tls else None) reactor.connectTCP( - smtphost, # type: ignore[arg-type] + smtphost, smtpport, factory, timeout=30, |