mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed compilaiton
This commit is contained in:
parent
330cc98c23
commit
ed61d7272c
@ -240,7 +240,7 @@ bool RsGenExchange::messagePublicationTest(const RsGxsMsgMetaData& meta)
|
|||||||
{
|
{
|
||||||
time_t now = time(NULL) ;
|
time_t now = time(NULL) ;
|
||||||
|
|
||||||
uint32_t store_limit = (mNetService != NULL)?MESSAGE_STORE_PERIOD:mNetService->getKeepAge(grpId,MESSAGE_STORE_PERIOD) ;
|
uint32_t store_limit = (mNetService != NULL)?MESSAGE_STORE_PERIOD:mNetService->getKeepAge(meta.mGroupId,MESSAGE_STORE_PERIOD) ;
|
||||||
|
|
||||||
return meta.mMsgStatus & GXS_SERV::GXS_MSG_STATUS_KEEP || store_limit == 0 || meta.mPublishTs + store_limit >= now ;
|
return meta.mMsgStatus & GXS_SERV::GXS_MSG_STATUS_KEEP || store_limit == 0 || meta.mPublishTs + store_limit >= now ;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user