fix typos
This commit is contained in:
parent
14b3da63a3
commit
234611f347
|
@ -110,7 +110,8 @@ class E2eRoomKeysHandler(object):
|
|||
# XXX: perhaps we should use a finer grained lock here?
|
||||
with (yield self._upload_linearizer.queue(user_id)):
|
||||
# Check that the version we're trying to upload is the current version
|
||||
version_info = yield self.get_current_version_info(user_id)
|
||||
try:
|
||||
version_info = yield self.get_current_version_info(user_id)
|
||||
except StoreError as e:
|
||||
if e.code == 404:
|
||||
raise SynapseError(404, "Version '%s' not found" % (version,))
|
||||
|
|
|
@ -219,7 +219,7 @@ class EndToEndRoomKeyStore(SQLBaseStore):
|
|||
)
|
||||
|
||||
return self.runInteraction(
|
||||
desc="get_e2e_room_keys_version_info",
|
||||
"get_e2e_room_keys_version_info",
|
||||
_get_e2e_room_keys_version_info_txn
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue