mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix CONFIG with rs_deep_channels_index
This commit is contained in:
parent
33c5cc86b6
commit
82bd8d5f6a
@ -207,16 +207,24 @@ RsGxsIntegrityCheck::RsGxsIntegrityCheck(
|
||||
|
||||
void RsGxsIntegrityCheck::run()
|
||||
{
|
||||
std::vector<RsGxsGroupId> grps_to_delete;
|
||||
GxsMsgReq msgs_to_delete;
|
||||
std::vector<RsGxsGroupId> grps_to_delete;
|
||||
GxsMsgReq msgs_to_delete;
|
||||
|
||||
check(mGenExchangeClient->serviceType(),mGixs,mDs,mDeletedGrps,mDeletedMsgs);
|
||||
check(mGenExchangeClient->serviceType(), mGixs, mDs
|
||||
#ifdef RS_DEEP_CHANNEL_INDEX
|
||||
, mGenExchangeClient, mSerializer
|
||||
#endif
|
||||
, mDeletedGrps, mDeletedMsgs);
|
||||
|
||||
RS_STACK_MUTEX(mIntegrityMutex);
|
||||
mDone = true;
|
||||
}
|
||||
|
||||
bool RsGxsIntegrityCheck::check(uint16_t service_type, RsGixs *mgixs, RsGeneralDataService *mds, std::vector<RsGxsGroupId>& grpsToDel, GxsMsgReq& msgsToDel)
|
||||
bool RsGxsIntegrityCheck::check(uint16_t service_type, RsGixs *mgixs, RsGeneralDataService *mds
|
||||
#ifdef RS_DEEP_CHANNEL_INDEX
|
||||
, RsGenExchange* mGenExchangeClient, RsSerialType& mSerializer
|
||||
#endif
|
||||
, std::vector<RsGxsGroupId>& grpsToDel, GxsMsgReq& msgsToDel)
|
||||
{
|
||||
#ifdef RS_DEEP_CHANNEL_INDEX
|
||||
bool isGxsChannels = mGenExchangeClient->serviceType() == RS_SERVICE_GXS_TYPE_CHANNELS;
|
||||
|
@ -175,7 +175,11 @@ public:
|
||||
RsGenExchange *genex, RsSerialType& gxsSerialiser,
|
||||
RsGixs *gixs);
|
||||
|
||||
static bool check(uint16_t service_type, RsGixs *mgixs, RsGeneralDataService *mds, std::vector<RsGxsGroupId>& grpsToDel, GxsMsgReq& msgsToDel);
|
||||
static bool check(uint16_t service_type, RsGixs *mgixs, RsGeneralDataService *mds
|
||||
#ifdef RS_DEEP_CHANNEL_INDEX
|
||||
, RsGenExchange* mGenExchangeClient, RsSerialType& mSerializer
|
||||
#endif
|
||||
, std::vector<RsGxsGroupId>& grpsToDel, GxsMsgReq& msgsToDel);
|
||||
bool isDone();
|
||||
|
||||
void run();
|
||||
|
Loading…
Reference in New Issue
Block a user