mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
always set location for connected peer. Previous settign was causing blank location display
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4169 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
660d5d8e58
commit
db428d0cd8
@ -661,8 +661,8 @@ void p3disc::recvPeerDetails(RsDiscReply *item, const std::string &certGpgId)
|
|||||||
std::cerr << " -> location: " << pitem->location << std::endl;
|
std::cerr << " -> location: " << pitem->location << std::endl;
|
||||||
#endif
|
#endif
|
||||||
mConnMgr->setNetworkMode(pitem->pid, pitem->netMode);
|
mConnMgr->setNetworkMode(pitem->pid, pitem->netMode);
|
||||||
mConnMgr->setLocation(pitem->pid, pitem->location);
|
|
||||||
}
|
}
|
||||||
|
mConnMgr->setLocation(pitem->pid, pitem->location);
|
||||||
|
|
||||||
// The info from the peer itself is ultimately trustable, so we can override some info,
|
// The info from the peer itself is ultimately trustable, so we can override some info,
|
||||||
// such as:
|
// such as:
|
||||||
|
Loading…
Reference in New Issue
Block a user