diff --git a/libretroshare/src/gxs/rsgxsdataaccess.cc b/libretroshare/src/gxs/rsgxsdataaccess.cc index 6ef9ad047..f851a497a 100644 --- a/libretroshare/src/gxs/rsgxsdataaccess.cc +++ b/libretroshare/src/gxs/rsgxsdataaccess.cc @@ -361,7 +361,8 @@ uint32_t RsGxsDataAccess::requestStatus(uint32_t token) if(mPublicToken.find(token) != mPublicToken.end()) return mPublicToken[token]; } - checkRequestStatus(token, status, reqtype, anstype, ts); + if(!checkRequestStatus(token, status, reqtype, anstype, ts)) + return RsTokenService::GXS_REQUEST_V2_STATUS_FAILED ; return status; }