diff options
author | Kokokokoka <vasiliy.boytsov@gmail.com> | 2021-09-24 12:19:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 09:19:51 +0000 |
commit | e704cc2a48c6adc5d3da79a49ed02961edfc3b4a (patch) | |
tree | 0f4f88c0932dba6c186c199a498ec2cf29a01963 /changelog.d/10690.bugfix | |
parent | Allow `.` and `~` chars in registration tokens (#10887) (diff) | |
download | synapse-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.bugfix | 1 |
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. |