revert back to saving public key always.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6115 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2013-02-10 16:50:30 +00:00
parent 81307de7c9
commit a77fa5a8d1

View File

@ -707,12 +707,13 @@ bool p3IdService::cache_store(const RsGxsIdGroupItem *item)
full_key_ok = true;
}
if (kit->second.keyFlags & RSTLV_KEY_TYPE_PUBLIC_ONLY)
{
/* cache public key always */
pubkey = kit->second;
pub_key_ok = true;
}
/* cache public key always
* we don't need to check the keyFlags,
* as both FULL and PUBLIC_ONLY keys contain the PUBLIC key
*/
pubkey = kit->second;
pub_key_ok = true;
}
}