mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed supid mistake causing crash (on windows only) when sending a distant msg
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e74d91d7a5
commit
ff2f436d57
@ -2288,7 +2288,7 @@ void p3MsgService::sendPrivateMsgItem(RsMsgItem *msgitem)
|
||||
DistantMessengingContact& contact( _messenging_contacts[hash] ) ;
|
||||
|
||||
if(it == _messenging_contacts.end())
|
||||
it->second.status = RS_DISTANT_MSG_STATUS_TUNNEL_DN ;
|
||||
contact.status = RS_DISTANT_MSG_STATUS_TUNNEL_DN ;
|
||||
|
||||
contact.pending_messages.push_back(msgitem) ; // record the msg to be sent.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user