diff --git a/services/gunDB/contact-api/events/onSentReqs.js b/services/gunDB/contact-api/events/onSentReqs.js index 78c9abdf..272bddcf 100644 --- a/services/gunDB/contact-api/events/onSentReqs.js +++ b/services/gunDB/contact-api/events/onSentReqs.js @@ -44,10 +44,9 @@ const react = () => { const lastReqID = pubToLastSentReqID[recipientPub] const isStale = typeof lastReqID !== 'undefined' && lastReqID !== sentReqID - const aHandshakeWasEstablishedAtSomePoint = - typeof pubToIncoming[recipientPub] !== 'undefined' + const isConnected = typeof pubToIncoming[recipientPub] !== 'undefined' - if (isStale && aHandshakeWasEstablishedAtSomePoint) { + if (isStale || isConnected) { // eslint-disable-next-line no-continue continue }