improved explicit requests of missing GXS ids, also fixing situations where empty peers lists would wipe out pending peer lists

This commit is contained in:
csoler 2016-07-15 16:59:57 -04:00
parent 8ccfee20bb
commit 90dfc6e14a
7 changed files with 134 additions and 63 deletions

View file

@ -168,7 +168,7 @@ bool DistributedChatService::handleRecvChatLobbyMsgItem(RsChatMsgItem *ci)
if(it == _chat_lobbys.end())
{
#ifdef DEBUG_CHAT_LOBBIES
std::cerr << "Chatlobby for id " << std::hex << item->lobby_id << " has no record. Dropping the msg." << std::dec << std::endl;
std::cerr << "Chatlobby for id " << std::hex << cli->lobby_id << " has no record. Dropping the msg." << std::dec << std::endl;
#endif
return false;
}