mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-06 14:03:54 -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
@ -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…
x
Reference in New Issue
Block a user