summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2017-12-18 01:58:53 +0000
committerHubert Chathi <hubert@uhoreg.ca>2018-08-12 19:14:31 -0400
commitcac02537998718c05a561918269745161378dd6f (patch)
tree9aaf947c4fede98773636cfafb2ba2c281ae330b /synapse/handlers
parentblindly incorporate PR review - needs testing & fixing (diff)
downloadsynapse-cac02537998718c05a561918269745161378dd6f.tar.xz
rename room_key_version table correctly, and fix opt args
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/e2e_room_keys.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/e2e_room_keys.py b/synapse/handlers/e2e_room_keys.py
index dda31fdd24..87be081b1c 100644
--- a/synapse/handlers/e2e_room_keys.py
+++ b/synapse/handlers/e2e_room_keys.py
@@ -143,7 +143,7 @@ class E2eRoomKeysHandler(object):
 
         # lock everyone out until we've switched version
         with (yield self._upload_linearizer.queue(user_id)):
-            new_version = yield self.store.create_e2e_room_key_version(
+            new_version = yield self.store.create_e2e_room_keys_version(
                 user_id, version_info
             )
             defer.returnValue(new_version)
@@ -151,7 +151,7 @@ class E2eRoomKeysHandler(object):
     @defer.inlineCallbacks
     def get_version_info(self, user_id, version):
         with (yield self._upload_linearizer.queue(user_id)):
-            results = yield self.store.get_e2e_room_key_version_info(
+            results = yield self.store.get_e2e_room_keys_version_info(
                 user_id, version
             )
             defer.returnValue(results)
@@ -159,4 +159,4 @@ class E2eRoomKeysHandler(object):
     @defer.inlineCallbacks
     def delete_version(self, user_id, version):
         with (yield self._upload_linearizer.queue(user_id)):
-            yield self.store.delete_e2e_room_key_version(user_id, version)
+            yield self.store.delete_e2e_room_keys_version(user_id, version)