0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 10:23:57 +01:00
This commit is contained in:
Brendan Abolivier 2020-03-06 11:10:52 +00:00
parent a27056d539
commit 45df9d35a9
No known key found for this signature in database
GPG key ID: 1E015C145F1916CD

View file

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