mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Warn when no secret can be requested
This commit is contained in:
parent
0253aa59c7
commit
1d8fc18304
1 changed files with 3 additions and 1 deletions
|
@ -1613,8 +1613,10 @@ request_cross_signing_keys()
|
|||
body[local_user][dev] = secretRequest;
|
||||
}
|
||||
|
||||
if (body.empty())
|
||||
if (body.empty()) {
|
||||
nhlog::net()->warn("No verified devices to request {} from.", secretName);
|
||||
return;
|
||||
}
|
||||
|
||||
http::client()->send_to_device<mtx::events::msg::SecretRequest>(
|
||||
http::client()->generate_txn_id(),
|
||||
|
|
Loading…
Reference in a new issue