mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-31 18:29:02 -04:00
Some cleanup and deprecation
RsGxsDataAccess deprecate unused ansType RsGxsDataAccess::setReq(...) use proper types for params RsGxsDataAccess::getGroupData(...) print useful information in case of error GxsRequest proper initialization in constructor GxsRequest deprecate meaningless ansType RsGroupMetaData Fix comment to avoid confusion Deprecated meaningless RS_TOKREQ_ANSTYPE_* common source of confusion p3GxsCircles::request_CircleIdList() removed unused variable p3GxsCircles::request_CircleIdList() preper return value
This commit is contained in:
parent
233c38d8db
commit
a881441384
9 changed files with 99 additions and 65 deletions
|
@ -658,7 +658,6 @@ bool RsGxsCircleCache::addLocalFriend(const RsPgpId &pgpId)
|
|||
bool p3GxsCircles::request_CircleIdList()
|
||||
{
|
||||
/* trigger request to load missing ids into cache */
|
||||
std::list<RsGxsGroupId> groupIds;
|
||||
#ifdef DEBUG_CIRCLES
|
||||
std::cerr << "p3GxsCircles::request_CircleIdList()";
|
||||
std::cerr << std::endl;
|
||||
|
@ -672,7 +671,7 @@ bool p3GxsCircles::request_CircleIdList()
|
|||
|
||||
RsGenExchange::getTokenService()->requestGroupInfo(token, ansType, opts);
|
||||
GxsTokenQueue::queueRequest(token, CIRCLEREQ_CIRCLE_LIST);
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue