mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-31 18:36:24 -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;
|
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 ;
|
ChatLobbyFlags fl ;
|
||||||
|
|
||||||
// delete items that are not for us, as early as possible.
|
// delete items that are not for us, as early as possible.
|
||||||
@ -699,6 +703,9 @@ void DistributedChatService::handleRecvChatLobbyEventItem(RsChatLobbyEventItem *
|
|||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
return ;
|
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()))
|
if(! bounceLobbyObject(item,item->PeerId()))
|
||||||
return ;
|
return ;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user