mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-20 10:55:09 +03:00
run_on_reactor is dead
This commit is contained in:
parent
022469d819
commit
aa2a4b4b42
1 changed files with 0 additions and 2 deletions
|
@ -318,8 +318,6 @@ class ThreepidRestServlet(RestServlet):
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def on_POST(self, request):
|
||||
yield run_on_reactor()
|
||||
|
||||
if self.hs.config.disable_3pid_changes:
|
||||
raise SynapseError(400, "3PID changes disabled on this server")
|
||||
|
||||
|
|
Loading…
Reference in a new issue