mirror of
https://mau.dev/maunium/synapse.git
synced 2024-07-15 23:51:58 +00:00
![Sean Quah](/assets/img/avatar_default.png)
While `ReplicationEndpoint`s register themselves via `JsonResource`, they pass a method that calls the handler, instead of the handler itself, to `register_paths`. As a result, `JsonResource` will not correctly pick up the `@cancellable` flag and we have to apply it ourselves. Signed-off-by: Sean Quah <seanq@element.io>
2 lines
60 B
Plaintext
2 lines
60 B
Plaintext
Respect the `@cancellable` flag for `ReplicationEndpoint`s.
|