mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 08:59:50 -05:00
Merge pull request #2168 from PhenomRetroShare/Fix_SystemMessageSender
Fix System Message Sender
This commit is contained in:
commit
43d953b992
@ -1331,11 +1331,10 @@ bool p3MsgService::SystemMessage(const std::string &title, const std::string &me
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const RsPeerId& ownId = mServiceCtrl->getOwnId();
|
|
||||||
|
|
||||||
RsMsgItem *msg = new RsMsgItem();
|
RsMsgItem *msg = new RsMsgItem();
|
||||||
|
|
||||||
msg->PeerId(ownId);
|
msg->PeerId();// Notification == null
|
||||||
|
|
||||||
msg->msgFlags = 0;
|
msg->msgFlags = 0;
|
||||||
|
|
||||||
@ -1356,7 +1355,7 @@ bool p3MsgService::SystemMessage(const std::string &title, const std::string &me
|
|||||||
msg->subject = title;
|
msg->subject = title;
|
||||||
msg->message = message;
|
msg->message = message;
|
||||||
|
|
||||||
msg->rspeerid_msgto.ids.insert(ownId);
|
msg->rspeerid_msgto.ids.insert(mServiceCtrl->getOwnId());
|
||||||
|
|
||||||
processIncomingMsg(msg);
|
processIncomingMsg(msg);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user