mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
fixed duplication of messages in ChatLobbyDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4744 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b6f8e2a306
commit
fb263f2fcc
1 changed files with 4 additions and 2 deletions
|
@ -493,8 +493,10 @@ void p3ChatService::checkAndRedirectMsgToLobby(RsChatMsgItem *ci)
|
|||
vpeer_id = it->second.virtual_peer_id ;
|
||||
}
|
||||
|
||||
recvLobbyChat(lobbyItem) ; // needs the proper peerId
|
||||
ci->PeerId(vpeer_id) ; // thenthe peer Id is changed to the lobby id (virtual peer id).
|
||||
if(recvLobbyChat(lobbyItem))
|
||||
ci->PeerId(vpeer_id) ; // the peer Id is changed to the lobby id (virtual peer id).
|
||||
else
|
||||
ci->PeerId(std::string()) ; // reset the peer id to prevent display of message.
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue