mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 23:25:32 -04:00
fixed typo causing publishTest to fail in some cases
This commit is contained in:
parent
8de9ee8b8d
commit
f3e699a5d7
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ bool RsGenExchange::messagePublicationTest(const RsGxsMsgMetaData& meta)
|
|||
{
|
||||
time_t now = time(NULL) ;
|
||||
|
||||
uint32_t store_limit = (mNetService != NULL)?MESSAGE_STORE_PERIOD:mNetService->getKeepAge(meta.mGroupId,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 ;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue