From 3fa8d863b51252abb69370c819c37407eb59b60d Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 5 Jan 2016 22:53:56 -0500 Subject: [PATCH] removed time-stamp-ing of messages on client side in locked_genReqMsgTransaction() as it is already handled when receiving messages, and the need to stamp non subscribed groups is not justified anymore --- libretroshare/src/gxs/rsgxsnetservice.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libretroshare/src/gxs/rsgxsnetservice.cc b/libretroshare/src/gxs/rsgxsnetservice.cc index 52c375a1b..6327f8e3a 100644 --- a/libretroshare/src/gxs/rsgxsnetservice.cc +++ b/libretroshare/src/gxs/rsgxsnetservice.cc @@ -2735,9 +2735,17 @@ void RsGxsNetService::locked_genReqMsgTransaction(NxsTransaction* tr) } else { +#ifdef NXS_NET_DEBUG_1 + GXSNETDEBUG_PG(item->PeerId(),grpId) << " Request list is empty. Not doing anything. " << std::endl; +#endif +#ifdef SUSPENDED // The list to req is empty. That means we already have all messages that this peer can // provide. So we can stamp the group from this peer to be up to date. + + // Normally, this is not needed, since the call in locked_genReqMsgTransaction should handle this. + locked_stampPeerGroupUpdateTime(pid,grpId,tr->mTransaction->updateTS,msgItemL.size()) ; +#endif } }