summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2018-10-30 10:35:18 +0000
committerDavid Baker <dave@matrix.org>2018-10-30 10:35:18 +0000
commit2f0f911c52f6de48e47fbb5624a3e3beee0dd6a4 (patch)
tree8c7b5bce5f679cb72ddde7f1b1bdf7e6c81b40b8
parentnews fragment (diff)
downloadsynapse-2f0f911c52f6de48e47fbb5624a3e3beee0dd6a4.tar.xz
Convert version back to a string
-rw-r--r--synapse/storage/e2e_room_keys.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/e2e_room_keys.py b/synapse/storage/e2e_room_keys.py
index f25ded2295..9f826b292c 100644
--- a/synapse/storage/e2e_room_keys.py
+++ b/synapse/storage/e2e_room_keys.py
@@ -236,6 +236,7 @@ class EndToEndRoomKeyStore(SQLBaseStore):
                 ),
             )
             result["auth_data"] = json.loads(result["auth_data"])
+            result["version"] = str(result["version"])
             return result
 
         return self.runInteraction(