mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-23 08:19:57 -05:00
added proper own signature flag to signed sent message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6658 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c3732f5212
commit
8d94ecf9ff
@ -1012,6 +1012,9 @@ bool p3MsgService::MessageSend(MessageInfo &info)
|
||||
for(it = msg->msgto.ids.begin(); it != msg->msgto.ids.end(); it++)
|
||||
if(info.encryption_keys.find(*it) != info.encryption_keys.end()) *it = info.encryption_keys[*it] ;
|
||||
|
||||
if (msg->msgFlags & RS_MSG_FLAGS_SIGNED)
|
||||
msg->msgFlags |= RS_MSG_FLAGS_SIGNATURE_CHECKS; // this is always true, since we are sending the message
|
||||
|
||||
/* use processMsg to get the new msgId */
|
||||
processMsg(msg, false);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user