diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2022-05-11 12:24:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 12:24:48 +0100 |
commit | dffecade7df8a88caced2a7707c51e2de3407c0d (patch) | |
tree | 9fdd73267703745b47efbb237b282545e10e1927 /changelog.d/12698.misc | |
parent | Remove unneeded `ActionGenerator` class. (#12691) (diff) | |
download | synapse-dffecade7df8a88caced2a7707c51e2de3407c0d.tar.xz |
Respect the `@cancellable` flag for `DirectServe{Html,Json}Resource`s (#12698)
`DirectServeHtmlResource` and `DirectServeJsonResource` both inherit from `_AsyncResource`. These classes expect to be subclassed with `_async_render_*` methods. This commit has no effect on `JsonResource`, despite inheriting from `_AsyncResource`. `JsonResource` has its own `_async_render` override which will need to be updated separately. Signed-off-by: Sean Quah <seanq@element.io>
Diffstat (limited to 'changelog.d/12698.misc')
-rw-r--r-- | changelog.d/12698.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/12698.misc b/changelog.d/12698.misc new file mode 100644 index 0000000000..5d626352f9 --- /dev/null +++ b/changelog.d/12698.misc @@ -0,0 +1 @@ +Respect the `@cancellable` flag for `DirectServe{Html,Json}Resource`s. |