summary refs log tree commit diff
path: root/changelog.d/11188.bugfix
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2021-11-03 03:13:51 -0500
committerGitHub <noreply@github.com>2021-11-03 03:13:51 -0500
commitda0040785e81f2cb26dd7b568c9d622abf2dd21b (patch)
treea0c3347d255a4af6512a5cd6eac3372fdea5bfc2 /changelog.d/11188.bugfix
parentAdd index to `local_group_updates.stream_id` (#11231) (diff)
downloadsynapse-da0040785e81f2cb26dd7b568c9d622abf2dd21b.tar.xz
Support sending no `state_events_at_start` in the MSC2716 `/batch_send` endpoint (#11188)
As brought up by @tulir, https://matrix.to/#/!SBYNQlpqkwJzFIdzxI:nevarro.space/$Gwnb2ZvXHc3poYXuBhho0cmoYq4KJ11Jh3m5s8kjNOM?via=nevarro.space&via=beeper.com&via=matrix.org

This use case only works if the user is already joined in the current room state
at the given `?prev_event_id`
Diffstat (limited to 'changelog.d/11188.bugfix')
-rw-r--r--changelog.d/11188.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11188.bugfix b/changelog.d/11188.bugfix
new file mode 100644
index 0000000000..0688743c00
--- /dev/null
+++ b/changelog.d/11188.bugfix
@@ -0,0 +1 @@
+Allow an empty list of `state_events_at_start` to be sent when using the [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) `/batch_send` endpoint and the author of the historical messages is already part of the current room state at the given `?prev_event_id`.