mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-28 18:42:20 -04:00
fixed a few bugs in display of tracking info
This commit is contained in:
parent
2096cd6c52
commit
79c80c968a
8 changed files with 53 additions and 26 deletions
|
@ -216,7 +216,9 @@ void p3GxsReputation::updateIdentityFlags()
|
|||
{
|
||||
RsStackMutex stack(mReputationMtx); /****** LOCKED MUTEX *******/
|
||||
|
||||
#ifdef DEBUG_REPUTATION
|
||||
std::cerr << "Updating reputation identity flags" << std::endl;
|
||||
#endif
|
||||
|
||||
for( std::map<RsGxsId, Reputation>::iterator rit = mReputations.begin();rit!=mReputations.end();++rit)
|
||||
if(rit->second.mIdentityFlags & REPUTATION_IDENTITY_FLAG_NEEDS_UPDATE)
|
||||
|
@ -229,7 +231,9 @@ void p3GxsReputation::updateIdentityFlags()
|
|||
|
||||
if(!rsIdentity->getIdDetails(*rit,details))
|
||||
{
|
||||
#ifdef DEBUG_REPUTATION
|
||||
std::cerr << " cannot obtain info for " << *rit << ". Will do it later." << std::endl;
|
||||
#endif
|
||||
continue ;
|
||||
}
|
||||
|
||||
|
@ -247,7 +251,9 @@ void p3GxsReputation::updateIdentityFlags()
|
|||
if(details.mPgpLinked) it->second.mIdentityFlags |= REPUTATION_IDENTITY_FLAG_PGP_LINKED ;
|
||||
if(details.mPgpKnown ) it->second.mIdentityFlags |= REPUTATION_IDENTITY_FLAG_PGP_KNOWN ;
|
||||
|
||||
#ifdef DEBUG_REPUTATION
|
||||
std::cerr << " updated flags for " << *rit << " to " << std::hex << it->second.mIdentityFlags << std::dec << std::endl;
|
||||
#endif
|
||||
|
||||
it->second.updateReputation() ;
|
||||
IndicateConfigChanged();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue