|
|
|
@ -230,7 +230,7 @@ class _Client extends Client
|
|
|
|
|
})
|
|
|
|
|
if(!lastSentMessage) return sendMessage(res, feed, channel);
|
|
|
|
|
const lastSentMessagePublished = lastSentMessage.fields.filter(x=>x.name === 'PublishedTimeStamp')[0].value;
|
|
|
|
|
console.log(lastSentMessagePublished != res.published , 'lastSentPublished',lastSentMessagePublished,'published', res.published)
|
|
|
|
|
// console.log(lastSentMessagePublished != res.published , 'lastSentPublished',lastSentMessagePublished,'published', res.published)
|
|
|
|
|
if(!lastSentMessagePublished) sendMessage(res, feed, channel)
|
|
|
|
|
else if(lastSentMessagePublished != res.published) sendMessage(res, feed, channel);
|
|
|
|
|
})(feed);
|
|
|
|
|