diff --git a/services/gunDB/contact-api/events.js b/services/gunDB/contact-api/events.js index 4429e34b..aac6c600 100644 --- a/services/gunDB/contact-api/events.js +++ b/services/gunDB/contact-api/events.js @@ -501,7 +501,9 @@ const processChats = () => { } } - currentChats = chats.filter(c => c.messages.length > 0) + currentChats = chats + .filter(c => c.messages.length > 0) + .filter(c => typeof pubToIncoming[c.recipientPublicKey] !== 'undefined') notifyChatsListeners() }