summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2021-09-22 14:43:26 +0100
committerGitHub <noreply@github.com>2021-09-22 14:43:26 +0100
commit9391de3f373454aeec5b5c2f01b3c576528e76fe (patch)
tree95f961f52c47f8636d840a1b96967d627e6bb35d /changelog.d
parentAdd documentation for experimental feature flags. (#10865) (diff)
downloadsynapse-9391de3f373454aeec5b5c2f01b3c576528e76fe.tar.xz
Fix /initialSync error due to unhashable `RoomStreamToken` (#10827)
The deprecated /initialSync endpoint maintains a cache of responses,
using parameter values as part of the cache key. When a `from` or `to`
parameter is specified, it gets converted into a `StreamToken`, which
contains a `RoomStreamToken` and forms part of the cache key.
`RoomStreamToken`s need to be made hashable for this to work.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/10827.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10827.bugfix b/changelog.d/10827.bugfix
new file mode 100644
index 0000000000..11a618bf82
--- /dev/null
+++ b/changelog.d/10827.bugfix
@@ -0,0 +1 @@
+Fix error in deprecated `/initialSync` endpoint when using the undocumented `from` and `to` parameters.