summary refs log tree commit diff
path: root/changelog.d/13174.bugfix
diff options
context:
space:
mode:
authorDavid Teller <D.O.Teller@gmail.com>2022-07-07 10:14:32 +0200
committerGitHub <noreply@github.com>2022-07-07 08:14:32 +0000
commit57f6f59e3eacac61038419639f234e1eb1f230ed (patch)
treeafd52dde73c0e4395a64ffa404a998eaaf600774 /changelog.d/13174.bugfix
parentAdd information on how the Synapse team does reviews. (#13132) (diff)
downloadsynapse-57f6f59e3eacac61038419639f234e1eb1f230ed.tar.xz
Make `_get_state_map_for_room` not break when room state events don't contain an event id. (#13174)
Method `_get_state_map_for_room` seems to break in presence of some ill-formed events in the database. Reimplementing this method to use `get_current_state`, which is more robust to such events.
Diffstat (limited to 'changelog.d/13174.bugfix')
-rw-r--r--changelog.d/13174.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/13174.bugfix b/changelog.d/13174.bugfix
new file mode 100644
index 0000000000..b17935b93f
--- /dev/null
+++ b/changelog.d/13174.bugfix
@@ -0,0 +1 @@
+Make use of the more robust `get_current_state` in `_get_state_map_for_room` to avoid breakages.