mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 05:39:11 -04:00
fixed proper setting of "from" field when heterogeneous destinations are used
This commit is contained in:
parent
8185dba0d8
commit
a7570b70eb
2 changed files with 24 additions and 20 deletions
|
@ -670,7 +670,7 @@ void MessageWidget::fill(const std::string &msgId)
|
|||
// link.createMessage(ownId, "");
|
||||
// }
|
||||
|
||||
if(msgInfo.msgflags & RS_MSG_DISTANT) // distant message
|
||||
if(msgInfo.from.type()==Rs::Msgs::MsgAddress::MSG_ADDRESS_TYPE_RSGXSID) // distant message
|
||||
{
|
||||
tooltip_string = PeerDefs::rsidFromId(msgInfo.from.toGxsId()) ;
|
||||
link = RetroShareLink::createMessage(msgInfo.from.toGxsId(), "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue