Fix Friend Request Toaster

This commit is contained in:
Phenom 2020-12-14 17:33:08 +01:00
parent d112357b77
commit 4340b1a04a

View File

@ -1368,6 +1368,9 @@ int AuthSSLimpl::VerifyX509Callback(int /*preverify_ok*/, X509_STORE_CTX* ctx)
rsEvents->postEvent(std::move(ev));
}
if (auth_diagnostic == RS_SSL_HANDSHAKE_DIAGNOSTIC_ISSUER_UNKNOWN)
RsServer::notify()->AddPopupMessage(RS_POPUP_CONNECT_ATTEMPT, pgpId.toStdString(), sslCn, sslId.toStdString()); /* notify Connect Attempt */
return verificationFailed;
}
#ifdef AUTHSSL_DEBUG
@ -1392,6 +1395,8 @@ int AuthSSLimpl::VerifyX509Callback(int /*preverify_ok*/, X509_STORE_CTX* ctx)
rsEvents->postEvent(std::move(ev));
}
RsServer::notify()->AddPopupMessage(RS_POPUP_CONNECT_ATTEMPT, pgpId.toStdString(), sslCn, sslId.toStdString()); /* notify Connect Attempt */
return verificationFailed;
}