summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2018-10-30 10:35:18 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-02-13 14:24:42 +0000
commitb0ac23319aa3c7573b1ee6de03f6b32b7b713d50 (patch)
tree7e4173b5ad0fb94945c6457365516c566894f21a
parentnews fragment (diff)
downloadsynapse-b0ac23319aa3c7573b1ee6de03f6b32b7b713d50.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(