mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 07:35:12 -04:00
Show Cc and Bcc in MessagesDialog if available.
Send message to friend with a click on To, Cc or Bcc label. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3546 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
89314af64e
commit
e8d22e2940
6 changed files with 204 additions and 53 deletions
|
@ -338,13 +338,20 @@ void MessageComposer::processSettings(bool bLoad)
|
|||
if (group) {
|
||||
pMsgDialog->addRecipient(TO, id, true);
|
||||
} else {
|
||||
//put all sslChilds in message list
|
||||
std::list<std::string> sslIds;
|
||||
rsPeers->getSSLChildListOfGPGId(id, sslIds);
|
||||
RsPeerDetails detail;
|
||||
if (rsPeers->getPeerDetails(id, detail) && detail.accept_connection) {
|
||||
if (detail.isOnlyGPGdetail) {
|
||||
//put all sslChilds in message list
|
||||
std::list<std::string> sslIds;
|
||||
rsPeers->getSSLChildListOfGPGId(id, sslIds);
|
||||
|
||||
std::list<std::string>::const_iterator it;
|
||||
for (it = sslIds.begin(); it != sslIds.end(); it++) {
|
||||
pMsgDialog->addRecipient(TO, *it, false);
|
||||
std::list<std::string>::const_iterator it;
|
||||
for (it = sslIds.begin(); it != sslIds.end(); it++) {
|
||||
pMsgDialog->addRecipient(TO, *it, false);
|
||||
}
|
||||
} else {
|
||||
pMsgDialog->addRecipient(TO, detail.id, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue