lint
parent
74eaac0052
commit
b08b7c71fc
|
@ -1065,7 +1065,7 @@ class E2eKeysHandler(object):
|
||||||
logger.warning(
|
logger.warning(
|
||||||
"Invalid %s key retrieved, missing user_id field: %s",
|
"Invalid %s key retrieved, missing user_id field: %s",
|
||||||
key_type,
|
key_type,
|
||||||
key_content
|
key_content,
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
if user.to_string() != key_content["user_id"]:
|
if user.to_string() != key_content["user_id"]:
|
||||||
|
@ -1109,7 +1109,9 @@ class E2eKeysHandler(object):
|
||||||
|
|
||||||
# Notify clients that new devices for this user have been discovered
|
# Notify clients that new devices for this user have been discovered
|
||||||
if retrieved_device_ids:
|
if retrieved_device_ids:
|
||||||
yield self.device_handler.notify_device_update(user.to_string(), retrieved_device_ids)
|
yield self.device_handler.notify_device_update(
|
||||||
|
user.to_string(), retrieved_device_ids
|
||||||
|
)
|
||||||
|
|
||||||
return desired_key, desired_key_id, desired_verify_key
|
return desired_key, desired_key_id, desired_verify_key
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue