instantly reflect changes in messages
This commit is contained in:
parent
e4ab314e7f
commit
d0bef5ea2c
1 changed files with 1 additions and 0 deletions
|
|
@ -642,6 +642,7 @@ const onChats = (cb, gun, user, SEA) => {
|
|||
.on(data => {
|
||||
if (data === null) {
|
||||
chat.didDisconnect = true
|
||||
chat.messages = chat.messages.filter(m => m.outgoing)
|
||||
|
||||
callCB()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue