run_on_reactor is dead

This commit is contained in:
David Baker 2018-07-19 14:48:24 +01:00
parent 022469d819
commit aa2a4b4b42

View file

@ -318,8 +318,6 @@ class ThreepidRestServlet(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")