mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed to/from for encrypted messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6842 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b9a79db9b0
commit
69862404d6
@ -2392,12 +2392,12 @@ void p3MsgService::receiveTurtleData(RsTurtleGenericTunnelItem *gitem,const std:
|
||||
}
|
||||
|
||||
RsItem *itm = _serialiser->deserialise(item->data_bytes,&item->data_size) ;
|
||||
|
||||
RsMsgItem *mitm = dynamic_cast<RsMsgItem*>(itm) ;
|
||||
|
||||
if(mitm != NULL)
|
||||
{
|
||||
mitm->PeerId(hash) ;
|
||||
mitm->msgto.ids.push_back(rsPeers->getGPGOwnId()) ;
|
||||
handleIncomingItem(mitm) ;
|
||||
}
|
||||
else
|
||||
|
@ -564,6 +564,7 @@ void MessageWidget::fill(const std::string &msgId)
|
||||
|
||||
if (msgInfo.msgflags & RS_MSG_ENCRYPTED) {
|
||||
ui.subjectText->setText(tr("Encrypted message"));
|
||||
ui.fromText->setText(tr("Unknown (needs decryption)")) ;
|
||||
} else {
|
||||
ui.subjectText->setText(QString::fromStdWString(msgInfo.title));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user