mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-05 21:29:23 -04:00
RsIdentity update own ids cache on creation
This commit is contained in:
parent
06840b86f5
commit
c2cb63b40c
2 changed files with 7 additions and 2 deletions
|
@ -968,6 +968,11 @@ bool p3IdService::createIdentity(
|
|||
|
||||
id = RsGxsId(meta.mGroupId);
|
||||
|
||||
{
|
||||
RS_STACK_MUTEX(mIdMtx);
|
||||
mOwnIds.push_back(id);
|
||||
if(!pseudonimous) mOwnSignedIds.push_back(id);
|
||||
}
|
||||
|
||||
LabelCreateIdentityCleanup:
|
||||
if(!pseudonimous && !pgpPassword.empty())
|
||||
|
@ -3036,7 +3041,7 @@ bool p3IdService::cache_request_ownids()
|
|||
|
||||
RsGenExchange::getTokenService()->requestGroupInfo(token, ansType, opts);
|
||||
GxsTokenQueue::queueRequest(token, GXSIDREQ_CACHEOWNIDS);
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue