mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-12 16:15:43 -04:00
fixed bug causing all GXS ids to be added to contacts. Warning: IDs added to contacts by this bug need to be cleaned manually.
This commit is contained in:
parent
18c5ab8913
commit
8505561700
1 changed files with 1 additions and 1 deletions
|
@ -676,7 +676,7 @@ bool p3IdService::getIdDetails(const RsGxsId &id, RsIdentityDetails &details)
|
||||||
|
|
||||||
details = data.details;
|
details = data.details;
|
||||||
|
|
||||||
if(mAutoAddFriendsIdentitiesAsContacts && (!is_a_contact) && (details.mFlags & RS_IDENTITY_FLAGS_PGP_KNOWN))
|
if(mAutoAddFriendsIdentitiesAsContacts && (!is_a_contact) && (details.mFlags & RS_IDENTITY_FLAGS_PGP_KNOWN) && rsPeers->isPgpFriend(details.mPgpId))
|
||||||
{
|
{
|
||||||
mContacts.insert(id) ;
|
mContacts.insert(id) ;
|
||||||
slowIndicateConfigChanged() ;
|
slowIndicateConfigChanged() ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue