mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Lint
This commit is contained in:
parent
297aaf4816
commit
54b78a0e3b
@ -210,8 +210,7 @@ class E2eRoomKeysHandler(object):
|
|||||||
if not isinstance(room_key["is_verified"], bool):
|
if not isinstance(room_key["is_verified"], bool):
|
||||||
msg = (
|
msg = (
|
||||||
"is_verified must be a boolean in keys for session %s in"
|
"is_verified must be a boolean in keys for session %s in"
|
||||||
"room %s"
|
"room %s" % (session_id, room_id)
|
||||||
% (session_id, room_id)
|
|
||||||
)
|
)
|
||||||
raise SynapseError(400, msg, Codes.INVALID_PARAM)
|
raise SynapseError(400, msg, Codes.INVALID_PARAM)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user