diff options
author | Tulir Asokan <tulir@beeper.com> | 2021-09-22 10:31:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 15:31:05 +0100 |
commit | 03db6701d5379f4aa05037bd9ce23942c501874e (patch) | |
tree | c06ecf63f82ea8286e69a5c7f8315539b9b105d4 /changelog.d | |
parent | Ensure we mark sent knocks as outliers (#10873) (diff) | |
download | synapse-03db6701d5379f4aa05037bd9ce23942c501874e.tar.xz |
Fix invalidating OTK count cache after claim (#10875)
The invalidation was missing in `_claim_e2e_one_time_key_returning`, which is used on SQLite 3.24+ and Postgres. This could break e2ee if nothing else happened to invalidate the caches before the keys ran out. Signed-off-by: Tulir Asokan <tulir@beeper.com>
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/10875.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10875.bugfix b/changelog.d/10875.bugfix new file mode 100644 index 0000000000..6f370da5c7 --- /dev/null +++ b/changelog.d/10875.bugfix @@ -0,0 +1 @@ +Fix invalidating one-time key count cache after claiming keys. Contributed by Tulir at Beeper. |