diff --git a/services/gunDB/contact-api/streams/pubToFeed.js b/services/gunDB/contact-api/streams/pubToFeed.js index 9995f5bf..463b87ff 100644 --- a/services/gunDB/contact-api/streams/pubToFeed.js +++ b/services/gunDB/contact-api/streams/pubToFeed.js @@ -183,8 +183,8 @@ const react = () => { // pub feed pair fire up again, etc. Now. When the user disconnects from // this side of things. He will overwrite the pub to incoming with null. // Let's allow that. - newIncoming === pubToLastIncoming[pub] || - (pubToFeed[pub] === 'disconnected' && newIncoming !== null) + newIncoming === pubToLastIncoming[pub] && + !(pubToFeed[pub] === 'disconnected' && newIncoming === null) ) { // eslint-disable-next-line no-continue continue