mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-23 01:55:53 +03:00
a559c8b0d9
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>
1 line
60 B
Text
1 line
60 B
Text
Respect the `@cancellable` flag for `ReplicationEndpoint`s.
|