removed question before sending invite, since the request is not in auto mode

This commit is contained in:
csoler 2023-06-20 21:27:41 +02:00
parent 9bbc832906
commit 438489fb01

View File

@ -905,10 +905,8 @@ void MessageWidget::sendInvite()
if(mi.from.type()!=MsgAddress::MSG_ADDRESS_TYPE_RSGXSID)
return;
if ((QMessageBox::question(this, tr("Send invite?"),tr("Do you really want send a invite with your Certificate?"),QMessageBox::Yes|QMessageBox::No, QMessageBox::Cancel))== QMessageBox::Yes)
{
MessageComposer::sendInvite(mi.from.toGxsId(),false);
}
//if ((QMessageBox::question(this, tr("Send invite?"),tr("Do you really want to send an invite with your Certificate?"),QMessageBox::Yes, QMessageBox::No))== QMessageBox::Yes)
MessageComposer::sendInvite(mi.from.toGxsId(),false);
}
void MessageWidget::setToolbarButtonStyle(Qt::ToolButtonStyle style)