mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05:00
added gathering of routing clues from lobbies
This commit is contained in:
parent
9ced5175fe
commit
a3890ad1c3
@ -152,6 +152,10 @@ bool DistributedChatService::handleRecvChatLobbyMsgItem(RsChatMsgItem *ci)
|
||||
return false;
|
||||
}
|
||||
|
||||
// add a routing clue for this peer/GXSid combination. This is quite reliable since the lobby transport is almost instantaneous
|
||||
|
||||
rsGRouter->addRoutingClue(GRouterKeyId(cli->signature.keyId),cli->PeerId()) ;
|
||||
|
||||
ChatLobbyFlags fl ;
|
||||
|
||||
// delete items that are not for us, as early as possible.
|
||||
@ -699,6 +703,9 @@ void DistributedChatService::handleRecvChatLobbyEventItem(RsChatLobbyEventItem *
|
||||
std::cerr << std::endl;
|
||||
return ;
|
||||
}
|
||||
// add a routing clue for this peer/GXSid combination. This is quite reliable since the lobby transport is almost instantaneous
|
||||
rsGRouter->addRoutingClue(GRouterKeyId(item->signature.keyId),item->PeerId()) ;
|
||||
|
||||
if(! bounceLobbyObject(item,item->PeerId()))
|
||||
return ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user