Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Settings Fix deleting e2e room keys on xenial (#4295)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl authored Dec 13, 2018
1 parent cef8ae2 commit e93a0eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/4295.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix deleting E2E room keys when using old SQLite versions.
2 changes: 1 addition & 1 deletion synapse/storage/e2e_room_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def delete_e2e_room_keys(

keyvalues = {
"user_id": user_id,
"version": version,
"version": int(version),
}
if room_id:
keyvalues['room_id'] = room_id
Expand Down

0 comments on commit e93a0eb

Please sign in to comment.