summary refs log tree commit diff
path: root/changelog.d/10690.bugfix
diff options
context:
space:
mode:
authorKokokokoka <vasiliy.boytsov@gmail.com>2021-09-24 12:19:51 +0300
committerGitHub <noreply@github.com>2021-09-24 09:19:51 +0000
commite704cc2a48c6adc5d3da79a49ed02961edfc3b4a (patch)
tree0f4f88c0932dba6c186c199a498ec2cf29a01963 /changelog.d/10690.bugfix
parentAllow `.` and `~` chars in registration tokens (#10887) (diff)
downloadsynapse-e704cc2a48c6adc5d3da79a49ed02961edfc3b4a.tar.xz
In `_purge_history_txn`, ensure that txn.fetchall has elements before accessing rows (#10690)
This change adds a check for row existence before accessing row element, this should fix issue #10669
Signed-off-by: Vasya Boytsov vasiliy.boytsov@phystech.edu
Diffstat (limited to 'changelog.d/10690.bugfix')
-rw-r--r--changelog.d/10690.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10690.bugfix b/changelog.d/10690.bugfix
new file mode 100644
index 0000000000..059eea7464
--- /dev/null
+++ b/changelog.d/10690.bugfix
@@ -0,0 +1 @@
+Fix a long-standing bug that caused an `AssertionError` when purging history in certain rooms. Contributed by @Kokokokoka.