filter unconnected on first contact request
This commit is contained in:
parent
80481f77fe
commit
74fa91c1b0
1 changed files with 5 additions and 1 deletions
|
|
@ -424,7 +424,11 @@ const processChats = debounce(() => {
|
||||||
newChats.push(chat)
|
newChats.push(chat)
|
||||||
}
|
}
|
||||||
|
|
||||||
currentChats = newChats
|
currentChats = newChats.filter(
|
||||||
|
c =>
|
||||||
|
// initial state, means non connected
|
||||||
|
typeof pubToFeed[c.recipientPublicKey] !== 'undefined'
|
||||||
|
)
|
||||||
|
|
||||||
notifyChatsListeners()
|
notifyChatsListeners()
|
||||||
}, 750)
|
}, 750)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue