made the invite system non automatic, because it was confusing and could generate unwanted emails

This commit is contained in:
csoler 2018-02-23 14:26:23 +01:00
parent fa84d1c881
commit 5a4d0f57d1
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
5 changed files with 16 additions and 15 deletions

View file

@ -2608,9 +2608,10 @@ void IdDialog::sendInvite()
RsGxsId id(ui->lineEdit_KeyId->text().toStdString());
if ((QMessageBox::question(this, tr("Send invite?"),tr("Do you really want send a invite with your Certificate?"),QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes))== QMessageBox::Yes)
//if ((QMessageBox::question(this, tr("Send invite?"),tr("Do you really want send a invite with your Certificate?"),QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes))== QMessageBox::Yes)
{
MessageComposer::sendInvite(id);
MessageComposer::sendInvite(id,false);
ui->inviteFrame->show();
ui->inviteButton->setEnabled(false);
}