summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-12-14 05:10:31 +1100
committerGitHub <noreply@github.com>2018-12-14 05:10:31 +1100
commite93a0ebf50e46ee4d0c8d5e3e73034465fb8884e (patch)
treeef96cc5c32ce72341fbbd7a55cafdb493152ab58 /synapse/storage
parentImproved welcome page (#4294) (diff)
downloadsynapse-e93a0ebf50e46ee4d0c8d5e3e73034465fb8884e.tar.xz
Settings Fix deleting e2e room keys on xenial (#4295)
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/e2e_room_keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/e2e_room_keys.py b/synapse/storage/e2e_room_keys.py
index 16b7f005aa..45cebe61d1 100644
--- a/synapse/storage/e2e_room_keys.py
+++ b/synapse/storage/e2e_room_keys.py
@@ -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