diff options
author | David Baker <dave@matrix.org> | 2018-10-05 15:08:36 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2018-10-05 15:08:36 +0100 |
commit | 497444f1fdd2c39906179b1dde8c67415e465398 (patch) | |
tree | 8b7a5a70181bc85cf09ca148656056d0d2ac884f | |
parent | WIP e2e key backups (diff) | |
download | synapse-497444f1fdd2c39906179b1dde8c67415e465398.tar.xz |
Don't reuse backup versions
Since we don't actually delete the keys, just mark the versions as deleted in the db rather than actually deleting them, then we won't reuse versions. Fixes https://github.com/vector-im/riot-web/issues/7448
-rw-r--r-- | synapse/storage/e2e_room_keys.py | 9 | ||||
-rw-r--r-- | synapse/storage/schema/delta/51/e2e_room_keys.sql | 3 |
2 files changed, 9 insertions, 3 deletions
diff --git a/synapse/storage/e2e_room_keys.py b/synapse/storage/e2e_room_keys.py |