fixed up People context menu so as to handle actions for multiple persons at once

This commit is contained in:
csoler 2016-01-16 20:44:52 -05:00
parent 1edfcf9731
commit 39e6a9b61a
3 changed files with 167 additions and 123 deletions

View file

@ -162,7 +162,7 @@ bool RsGxsIntegrityCheck::check()
std::cerr << "TimeStamping group authors' key ID " << grp->metaData->mAuthorId << " in group ID " << grp->grpId << std::endl;
#endif
if(rsReputations==NULL || !rsReputations->isIdentityBanned(grp->metaData->mAuthorId))
if(rsReputations!=NULL && !rsReputations->isIdentityBanned(grp->metaData->mAuthorId))
used_gxs_ids.insert(grp->metaData->mAuthorId) ;
}
}
@ -244,7 +244,7 @@ bool RsGxsIntegrityCheck::check()
#ifdef GXSUTIL_DEBUG
std::cerr << "TimeStamping message authors' key ID " << msg->metaData->mAuthorId << " in message " << msg->msgId << ", group ID " << msg->grpId<< std::endl;
#endif
if(rsReputations==NULL || !rsReputations->isIdentityBanned(msg->metaData->mAuthorId))
if(rsReputations!=NULL && !rsReputations->isIdentityBanned(msg->metaData->mAuthorId))
used_gxs_ids.insert(msg->metaData->mAuthorId) ;
}