mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05:00
changed update of server update TS in subscribeStatusChange from 0 to time(NULL)
This commit is contained in:
parent
4ad3b11ef5
commit
b90808dca8
@ -968,10 +968,10 @@ void RsGxsNetService::subscribeStatusChanged(const RsGxsGroupId& grpId,bool subs
|
|||||||
{
|
{
|
||||||
RsGxsServerMsgUpdateItem *item = new RsGxsServerMsgUpdateItem(mServType) ;
|
RsGxsServerMsgUpdateItem *item = new RsGxsServerMsgUpdateItem(mServType) ;
|
||||||
item->grpId = grpId ;
|
item->grpId = grpId ;
|
||||||
item->msgUpdateTS = 0 ;
|
item->msgUpdateTS = time(NULL) ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
it->second->msgUpdateTS = 0 ; // reset!
|
it->second->msgUpdateTS = time(NULL) ; // reset!
|
||||||
|
|
||||||
// We also update mGrpServerUpdateItem so as to trigger a new grp list exchange with friends (friends will send their known ClientTS which
|
// We also update mGrpServerUpdateItem so as to trigger a new grp list exchange with friends (friends will send their known ClientTS which
|
||||||
// will be lower than our own grpUpdateTS, triggering our sending of the new subscribed grp list.
|
// will be lower than our own grpUpdateTS, triggering our sending of the new subscribed grp list.
|
||||||
|
Loading…
Reference in New Issue
Block a user