From b90808dca84362a77c9e124a114643d7be37e126 Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 7 Apr 2016 18:26:18 -0400 Subject: [PATCH] changed update of server update TS in subscribeStatusChange from 0 to time(NULL) --- libretroshare/src/gxs/rsgxsnetservice.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libretroshare/src/gxs/rsgxsnetservice.cc b/libretroshare/src/gxs/rsgxsnetservice.cc index d03a640ed..5312076c5 100644 --- a/libretroshare/src/gxs/rsgxsnetservice.cc +++ b/libretroshare/src/gxs/rsgxsnetservice.cc @@ -968,10 +968,10 @@ void RsGxsNetService::subscribeStatusChanged(const RsGxsGroupId& grpId,bool subs { RsGxsServerMsgUpdateItem *item = new RsGxsServerMsgUpdateItem(mServType) ; item->grpId = grpId ; - item->msgUpdateTS = 0 ; + item->msgUpdateTS = time(NULL) ; } 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 // will be lower than our own grpUpdateTS, triggering our sending of the new subscribed grp list.