mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-02-22 14:29:47 -05:00

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>