mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-16 00:43:51 +01:00
fix typos
This commit is contained in:
parent
14b3da63a3
commit
234611f347
2 changed files with 3 additions and 2 deletions
|
@ -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 a new issue