mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 11:16:34 -04:00
fixed up display of GroupStatisticsReq and moved priorities to RsTokReqOptions
This commit is contained in:
parent
7c77e82b1e
commit
ebee69df96
9 changed files with 119 additions and 78 deletions
|
@ -56,7 +56,10 @@ void GxsUserNotify::startUpdate()
|
|||
mNewChildMessageCount = 0;
|
||||
|
||||
uint32_t token;
|
||||
mTokenService->requestServiceStatistic(token);
|
||||
RsTokReqOptions opts;
|
||||
opts.mReqType = GXS_REQUEST_TYPE_SERVICE_STATS;
|
||||
|
||||
mTokenService->requestServiceStatistic(token,opts);
|
||||
mTokenQueue->queueRequest(token, 0, RS_TOKREQ_ANSTYPE_ACK, TOKEN_TYPE_STATISTICS);
|
||||
}
|
||||
|
||||
|
|
|
@ -384,7 +384,10 @@ void GxsTransportStatistics::requestGroupMeta()
|
|||
void GxsTransportStatistics::requestGroupStat(const RsGxsGroupId &groupId)
|
||||
{
|
||||
uint32_t token;
|
||||
rsGxsTrans->getTokenService()->requestGroupStatistic(token, groupId);
|
||||
RsTokReqOptions opts;
|
||||
opts.mReqType = GXS_REQUEST_TYPE_GROUP_STATS;
|
||||
|
||||
rsGxsTrans->getTokenService()->requestGroupStatistic(token, groupId,opts);
|
||||
mTransQueue->queueRequest(token, 0, RS_TOKREQ_ANSTYPE_ACK, GXSTRANS_GROUP_STAT);
|
||||
}
|
||||
void GxsTransportStatistics::requestMsgMeta(const RsGxsGroupId& grpId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue