mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
time-stamping newly received GXS ids
This commit is contained in:
parent
95202d648b
commit
713deac758
@ -1054,6 +1054,11 @@ bool p3GxsCircles::locked_processLoadingCacheEntry(RsGxsCircleCache& cache)
|
||||
std::cerr << "Processing External Circle " << cache.mCircleId << std::endl;
|
||||
#endif
|
||||
|
||||
// Do we actually need to retrieve the missing keys for all members of a circle???
|
||||
// These keys are needed for subscribtion request signature checking. But this is only
|
||||
// when a subscription msg is posted, which would trigger retrieval of the key anyway
|
||||
// Maybe this can be made an option of p3GxsCircles, or of rsIdentity.
|
||||
|
||||
// need to trigger the searches.
|
||||
for(std::map<RsGxsId,RsGxsCircleMembershipStatus>::iterator pit = cache.mMembershipStatus.begin(); pit != cache.mMembershipStatus.end(); ++pit)
|
||||
{
|
||||
|
@ -483,6 +483,10 @@ void p3IdService::notifyChanges(std::vector<RsGxsNotify *> &changes)
|
||||
uint32_t token;
|
||||
RsGenExchange::subscribeToGroup(token, *git, true);
|
||||
|
||||
// also time_stamp the key that this group represents
|
||||
|
||||
std::cerr << "(II) time-stamping new received GXS ID " << *git << std::endl;
|
||||
timeStampKey(RsGxsId(*git)) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user