mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #1987 from PhenomRetroShare/Fix_MessageSentTags
Fix Message Sent keeps Tags
This commit is contained in:
commit
93f7f4fdd6
@ -1187,11 +1187,15 @@ bool p3MsgService::MessageSend(MessageInfo &info)
|
||||
/* use processMsg to get the new msgId */
|
||||
msg->recvTime = time(NULL);
|
||||
msg->msgId = getNewUniqueMsgId();
|
||||
|
||||
|
||||
msg->msgFlags |= RS_MSG_OUTGOING;
|
||||
|
||||
imsg[msg->msgId] = msg;
|
||||
|
||||
// Update info for caller
|
||||
info.msgId = std::to_string(msg->msgId);
|
||||
info .msgflags = msg->msgFlags;
|
||||
|
||||
RsServer::notify()->notifyListChange(NOTIFY_LIST_MESSAGELIST,NOTIFY_TYPE_ADD);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user