This commit is contained in:
Brendan Abolivier 2020-03-06 15:11:13 +00:00
parent 297aaf4816
commit 54b78a0e3b
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

@ -210,8 +210,7 @@ class E2eRoomKeysHandler(object):
if not isinstance(room_key["is_verified"], bool):
msg = (
"is_verified must be a boolean in keys for session %s in"
"room %s"
% (session_id, room_id)
"room %s" % (session_id, room_id)
)
raise SynapseError(400, msg, Codes.INVALID_PARAM)