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 | |
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 '')
-rw-r--r-- | changelog.d/10760.bugfix | 1 | ||||
-rw-r--r-- | synapse/handlers/room_summary.py | 26 |
2 files changed, 13 insertions, 14 deletions
diff --git a/changelog.d/10760.bugfix b/changelog.d/10760.bugfix new file mode 100644 |