mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-17 15:31:19 +01:00
Lint
This commit is contained in:
parent
297aaf4816
commit
54b78a0e3b
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue