summary refs log tree commit diff
path: root/changelog.d/5654.bugfix
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-07-10 14:43:11 +0100
committerGitHub <noreply@github.com>2019-07-10 14:43:11 +0100
commitf28171458342c474e7a091fff022972afb366169 (patch)
treec21a1b18e30c7e116c60301f4152adad2446eb3a /changelog.d/5654.bugfix
parentAdd a linting script (#5627) (diff)
downloadsynapse-f28171458342c474e7a091fff022972afb366169.tar.xz
Don't bundle aggregations when retrieving the original event (#5654)
A fix for PR #5626, which returned the original event content as part of a call to /relations.

Only problem was that we were attempting to aggregate the relations on top of it when we did so. We now set bundle_aggregations to False in the get_event call.

We also do this when pulling the relation events as well, because edits of edits are not something we'd like to support here.
Diffstat (limited to 'changelog.d/5654.bugfix')
-rw-r--r--changelog.d/5654.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/5654.bugfix b/changelog.d/5654.bugfix
new file mode 100644
index 0000000000..5f76b041cd
--- /dev/null
+++ b/changelog.d/5654.bugfix
@@ -0,0 +1 @@
+Fix bug in #5626 that prevented the original_event field from actually having the contents of the original event in a call to `/relations`.
\ No newline at end of file