Settings Fix deleting e2e room keys on xenial (#4295)

This commit is contained in:
Amber Brown 2018-12-14 05:10:31 +11:00 committed by GitHub
parent cef8ae272a
commit e93a0ebf50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/4295.bugfix Normal file
View file

@ -0,0 +1 @@
Fix deleting E2E room keys when using old SQLite versions.

View file

@ -182,7 +182,7 @@ class EndToEndRoomKeyStore(SQLBaseStore):
keyvalues = {
"user_id": user_id,
"version": version,
"version": int(version),
}
if room_id:
keyvalues['room_id'] = room_id