Skip to content
Snippets Groups Projects
Unverified Commit a559c8b0 authored by Sean Quah's avatar Sean Quah Committed by GitHub
Browse files

Respect the `@cancellable` flag for `ReplicationEndpoint`s (#12700)


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: default avatarSean Quah <seanq@element.io>
parent 9d8e380d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment