mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 01:01:40 -04:00
Changed p3Peers::getPeerCount to count also gpg id's only.
Show count of friends in MainWindow, not the count of locations. Recompile of GUI needed. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3653 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0e063f9a1b
commit
1207b5793b
6 changed files with 54 additions and 21 deletions
|
@ -221,14 +221,14 @@ bool p3Peers::getFriendList(std::list<std::string> &ids)
|
|||
// return true;
|
||||
//}
|
||||
|
||||
void p3Peers::getPeerCount (unsigned int *pnFriendCount, unsigned int *pnOnlineCount)
|
||||
bool p3Peers::getPeerCount (unsigned int *pnFriendCount, unsigned int *pnOnlineCount, bool ssl)
|
||||
{
|
||||
#ifdef P3PEERS_DEBUG
|
||||
std::cerr << "p3Peers::getPeerCount()" << std::endl;
|
||||
#endif
|
||||
|
||||
/* get from mConnectMgr */
|
||||
mConnMgr->getPeerCount(pnFriendCount, pnOnlineCount);
|
||||
return mConnMgr->getPeerCount(pnFriendCount, pnOnlineCount, ssl);
|
||||
}
|
||||
|
||||
bool p3Peers::isOnline(std::string id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue