mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
parent
8b3d0c14d0
commit
80b9d4528e
1 changed files with 4 additions and 1 deletions
|
@ -1406,9 +1406,12 @@ request_cross_signing_keys()
|
|||
body,
|
||||
[request_id = secretRequest.request_id, secretName](mtx::http::RequestErr err) {
|
||||
if (err) {
|
||||
request_id_to_secret_name.erase(request_id);
|
||||
nhlog::net()->error("Failed to send request for secrect '{}'",
|
||||
secretName);
|
||||
// Cancel request on UI thread
|
||||
QTimer::singleShot(1, cache::client(), [request_id]() {
|
||||
request_id_to_secret_name.erase(request_id);
|
||||
});
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue