mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
replaced the few bools in RsIdentityDetail by a set of flags
This commit is contained in:
parent
738dadadc9
commit
1de55d8fc5
9 changed files with 32 additions and 33 deletions
|
@ -235,7 +235,7 @@ static bool trimAnonIds(std::list<RsGxsId>& lst)
|
|||
RsIdentityDetails idd ;
|
||||
|
||||
for(std::list<RsGxsId>::iterator it = lst.begin();it!=lst.end();)
|
||||
if(!rsIdentity->getIdDetails(*it,idd) || !idd.mPgpLinked)
|
||||
if(!rsIdentity->getIdDetails(*it,idd) || !(idd.mFlags & RS_IDENTITY_FLAGS_PGP_LINKED))
|
||||
{
|
||||
it = lst.erase(it) ;
|
||||
removed= true ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue