Open mcd1992 opened 9 years ago
Trinity the tradeOffers hook code iterates over the history of trade offers.
self.TradeOffers.getItems( { tradeId: offer.tradeid }, function( error, items ) {
items is a array of objects from the last 3+ trades. This is why its spamming chat on trade.
If you read my code, you would have seen that this is present in the config options for getOffers.
get_received_offers: 1, active_only: 1, time_historical_cutoff: Math.round(Date.now() / 1000)
Trinity the tradeOffers hook code iterates over the history of trade offers.
items is a array of objects from the last 3+ trades. This is why its spamming chat on trade.