diff options
author | Travis Ralston <travpc@gmail.com> | 2018-07-26 14:41:59 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-26 14:41:59 -0600 |
commit | 7d32f0d745da6cbc2ec4bb28318488dfcab7b930 (patch) | |
tree | 6352ced469bb9ac635442c3f4b0570a144aff26f /synapse/federation/transport/server.py | |
parent | Merge pull request #3610 from matrix-org/rav/fix_looping_calls (diff) | |
download | synapse-7d32f0d745da6cbc2ec4bb28318488dfcab7b930.tar.xz |
Update the send_leave path to be an event_id
It's still not used, however the parameter is an event ID not a transaction ID.
Diffstat (limited to 'synapse/federation/transport/server.py')
-rw-r--r-- | synapse/federation/transport/server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py index c9beca27c2..8574898f0c 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py @@ -404,10 +404,10 @@ class FederationMakeLeaveServlet(BaseFederationServlet): class FederationSendLeaveServlet(BaseFederationServlet): - PATH = "/send_leave/(?P<room_id>[^/]*)/(?P<txid>[^/]*)" + PATH = "/send_leave/(?P<room_id>[^/]*)/(?P<event_id>[^/]*)" @defer.inlineCallbacks - def on_PUT(self, origin, content, query, room_id, txid): + def on_PUT(self, origin, content, query, room_id, event_id): content = yield self.handler.on_send_leave_request(origin, content) defer.returnValue((200, content)) |