mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
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?
|
# XXX: perhaps we should use a finer grained lock here?
|
||||||
with (yield self._upload_linearizer.queue(user_id)):
|
with (yield self._upload_linearizer.queue(user_id)):
|
||||||
# Check that the version we're trying to upload is the current version
|
# 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:
|
except StoreError as e:
|
||||||
if e.code == 404:
|
if e.code == 404:
|
||||||
raise SynapseError(404, "Version '%s' not found" % (version,))
|
raise SynapseError(404, "Version '%s' not found" % (version,))
|
||||||
|
@ -219,7 +219,7 @@ class EndToEndRoomKeyStore(SQLBaseStore):
|
|||||||
)
|
)
|
||||||
|
|
||||||
return self.runInteraction(
|
return self.runInteraction(
|
||||||
desc="get_e2e_room_keys_version_info",
|
"get_e2e_room_keys_version_info",
|
||||||
_get_e2e_room_keys_version_info_txn
|
_get_e2e_room_keys_version_info_txn
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user