mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05:00
libresapi: fix empty peers list
This commit is contained in:
parent
b649088b20
commit
22afc8e67b
@ -193,6 +193,8 @@ void PeersHandler::handleWildcard(Request &req, Response &resp)
|
||||
ok &= mRsPeers->getPeerDetails(*lit, details);
|
||||
detailsVec.push_back(details);
|
||||
}
|
||||
// mark response as list, in case it is empty
|
||||
resp.mDataStream.getStreamToMember();
|
||||
for(std::list<RsPgpId>::iterator lit = identities.begin(); lit != identities.end(); ++lit)
|
||||
{
|
||||
// if no own ssl id is known, then hide the own id from the friendslist
|
||||
|
Loading…
Reference in New Issue
Block a user