mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-20 10:55:09 +03:00
More run_on_reactor
This commit is contained in:
parent
aa2a4b4b42
commit
650761666d
1 changed files with 0 additions and 2 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue