summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-02-08 01:32:45 -0500
committerHubert Chathi <hubert@uhoreg.ca>2019-02-08 01:32:45 -0500
commitafae8442b56d2e2466812916654396341038c38c (patch)
treea6fe2c1d79af3098912f030a51c28f3a7280753a /synapse/rest/client/v2_alpha
parentre-try to make isort happy (diff)
downloadsynapse-afae8442b56d2e2466812916654396341038c38c.tar.xz
make sure version is in body and wrap in linearizer queue
also add tests
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r--synapse/rest/client/v2_alpha/room_keys.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/room_keys.py b/synapse/rest/client/v2_alpha/room_keys.py
index 1c39d2af1c..220a0de30b 100644
--- a/synapse/rest/client/v2_alpha/room_keys.py
+++ b/synapse/rest/client/v2_alpha/room_keys.py
@@ -394,7 +394,8 @@ class RoomKeysVersionServlet(RestServlet):
                 "signatures": {
                     "ed25519:something": "hijklmnop"
                 }
-            }
+            },
+            "version": "42"
         }
 
         HTTP/1.1 200 OK