mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-09 14:41:58 +00:00
Settings Fix deleting e2e room keys on xenial (#4295)
This commit is contained in:
parent
cef8ae272a
commit
e93a0ebf50
1
changelog.d/4295.bugfix
Normal file
1
changelog.d/4295.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix deleting E2E room keys when using old SQLite versions.
|
@ -182,7 +182,7 @@ class EndToEndRoomKeyStore(SQLBaseStore):
|
|||||||
|
|
||||||
keyvalues = {
|
keyvalues = {
|
||||||
"user_id": user_id,
|
"user_id": user_id,
|
||||||
"version": version,
|
"version": int(version),
|
||||||
}
|
}
|
||||||
if room_id:
|
if room_id:
|
||||||
keyvalues['room_id'] = room_id
|
keyvalues['room_id'] = room_id
|
||||||
|
Loading…
Reference in New Issue
Block a user