Fix Mail for known Friend Request

No mail for unknown as we don't know where to send it.
This commit is contained in:
Phenom 2020-12-15 11:47:25 +01:00
parent 71725f8be4
commit 2273a634a7

View File

@ -597,7 +597,7 @@ void MessageComposer::addConnectAttemptMsg(const RsPgpId &gpgId, const RsPeerId
// PGPId+SslId are always here. But if the peer is not a friend the SSL id cannot be used. // PGPId+SslId are always here. But if the peer is not a friend the SSL id cannot be used.
// (todo) If the PGP id doesn't get us a PGP key from the keyring, we need to create a short invite // (todo) If the PGP id doesn't get us a PGP key from the keyring, we need to create a short invite
RetroShareLink link = RetroShareLink::createUnknownSslCertificate(sslId); RetroShareLink link = RetroShareLink::createUnknownSslCertificate(sslId, gpgId);
if (!link.valid()) if (!link.valid())
return; return;