mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-09 07:02:41 -04:00
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
This commit is contained in:
parent
678afe7a0f
commit
3fa8d863b5
1 changed files with 8 additions and 0 deletions
|
@ -2735,9 +2735,17 @@ void RsGxsNetService::locked_genReqMsgTransaction(NxsTransaction* tr)
|
||||||
}
|
}
|
||||||
else
|
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
|
// 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.
|
// 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()) ;
|
locked_stampPeerGroupUpdateTime(pid,grpId,tr->mTransaction->updateTS,msgItemL.size()) ;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue