mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 09:26:18 -05:00
re-enabled some code previously disabled in last commit
This commit is contained in:
parent
b1288bcb7e
commit
d6be4404d2
@ -2096,16 +2096,14 @@ void RsGxsNetService::updateServerSyncTS()
|
|||||||
else
|
else
|
||||||
msui = mapIT->second;
|
msui = mapIT->second;
|
||||||
|
|
||||||
// (cyril) I'm removing this, becuse mLastPost is *never* updated. So this code it not useful at all.
|
if(grpMeta->mLastPost > msui->msgUpdateTS )
|
||||||
//
|
{
|
||||||
// if(grpMeta->mLastPost > msui->msgUpdateTS )
|
change = true;
|
||||||
// {
|
msui->msgUpdateTS = grpMeta->mLastPost;
|
||||||
// change = true;
|
|
||||||
// msui->msgUpdateTS = grpMeta->mLastPost;
|
|
||||||
#ifdef NXS_NET_DEBUG_0
|
#ifdef NXS_NET_DEBUG_0
|
||||||
// GXSNETDEBUG__G(grpId) << " updated msgUpdateTS to last post = " << time(NULL) - grpMeta->mLastPost << " secs ago for group "<< grpId << std::endl;
|
GXSNETDEBUG__G(grpId) << " updated msgUpdateTS to last post = " << time(NULL) - grpMeta->mLastPost << " secs ago for group "<< grpId << std::endl;
|
||||||
#endif
|
#endif
|
||||||
// }
|
}
|
||||||
|
|
||||||
// This is needed for group metadata updates to actually propagate: only a new grpUpdateTS will trigger the exchange of groups mPublishTs which
|
// This is needed for group metadata updates to actually propagate: only a new grpUpdateTS will trigger the exchange of groups mPublishTs which
|
||||||
// will then be compared and pssibly trigger a MetaData transmission. mRecvTS is upated when creating, receiving for the first time, or receiving
|
// will then be compared and pssibly trigger a MetaData transmission. mRecvTS is upated when creating, receiving for the first time, or receiving
|
||||||
|
Loading…
Reference in New Issue
Block a user