diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-09-07 08:43:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 08:43:54 -0400 |
commit | a23f3abb9bc3d67888a2e1090e5df849bc442549 (patch) | |
tree | 9c36da1b2f9d09138a37905ec5d702997a0087ea /changelog.d/10760.bugfix | |
parent | Underscore-prefix private fields in `FederationEventHandler` (#10746) (diff) | |
download | synapse-a23f3abb9bc3d67888a2e1090e5df849bc442549.tar.xz |
Return stripped m.space.child events via the space summary. (#10760)
The full event content cannot be trusted from this API (as no auth chain, etc.) is processed over federation. Returning the full event content was a bug as MSC2946 specifies that only the stripped state should be returned. This also avoids calculating aggregations / annotations which go unused.
Diffstat (limited to 'changelog.d/10760.bugfix')
-rw-r--r-- | changelog.d/10760.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10760.bugfix b/changelog.d/10760.bugfix new file mode 100644 index 0000000000..4995c28190 --- /dev/null +++ b/changelog.d/10760.bugfix @@ -0,0 +1 @@ +Only return the stripped state events for the `m.space.child` events in a room for the spaces summary from [MSC2946](https://github.com/matrix-org/matrix-doc/pull/2946). |