made GxsIdChooser to auto update when identities are added/created/modified

This commit is contained in:
csoler 2022-11-23 21:48:09 +01:00
parent 302e87e476
commit 2d024c0d6f
4 changed files with 27 additions and 2 deletions

View file

@ -627,6 +627,7 @@ void MessageWidget::fill(const std::string &msgId)
case MsgAddress::MSG_ADDRESS_MODE_TO: to_text += link.toHtml() + " "; break;
case MsgAddress::MSG_ADDRESS_MODE_CC: cc_text += link.toHtml() + " "; break;
case MsgAddress::MSG_ADDRESS_MODE_BCC: bcc_text += link.toHtml() + " "; break;
default: break;
}
}
@ -880,7 +881,7 @@ void MessageWidget::sendInvite()
if (!rsMail->getMessage(currMsgId, mi))
return;
if(!mi.from.type()==MsgAddress::MSG_ADDRESS_TYPE_RSGXSID)
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)