diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-08-06 11:13:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-06 10:13:34 +0000 |
commit | 74d7336686e7de1d0923d67af61b510ec801fa84 (patch) | |
tree | 241ec77732f909ac13d1f3c5cf2fdb1fc3ce10d2 /synapse/server.py | |
parent | Mark all MSC2716 events as historical (#10537) (diff) | |
download | synapse-74d7336686e7de1d0923d67af61b510ec801fa84.tar.xz |
Add a setting to disable TLS for sending email (#10546)
This is mostly useful in case the server offers TLS, but doesn't present a valid certificate.
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/server.py b/synapse/server.py index 095dba9ad0..6c867f0f47 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -34,8 +34,6 @@ from typing import ( ) import twisted.internet.tcp -from twisted.internet import defer -from twisted.mail.smtp import sendmail from twisted.web.iweb import IPolicyForHTTPS from twisted.web.resource import IResource @@ -443,10 +441,6 @@ class HomeServer(metaclass=abc.ABCMeta): return RoomShutdownHandler(self) @cache_in_self - def get_sendmail(self) -> Callable[..., defer.Deferred]: - return sendmail - - @cache_in_self def get_state_handler(self) -> StateHandler: return StateHandler(self) |