More run_on_reactor

This commit is contained in:
David Baker 2018-07-19 14:52:35 +01:00
parent aa2a4b4b42
commit 650761666d

View file

@ -373,8 +373,6 @@ class ThreepidDeleteRestServlet(RestServlet):
@defer.inlineCallbacks @defer.inlineCallbacks
def on_POST(self, request): def on_POST(self, request):
yield run_on_reactor()
if self.hs.config.disable_3pid_changes: if self.hs.config.disable_3pid_changes:
raise SynapseError(400, "3PID changes disabled on this server") raise SynapseError(400, "3PID changes disabled on this server")