Delay message cache save to 200ms
This commit is contained in:
parent
b893255f79
commit
b89ad2ef4a
|
@ -245,7 +245,7 @@
|
||||||
setMessagesTimer = setTimeout(() => {
|
setMessagesTimer = setTimeout(() => {
|
||||||
getChat(chatId).messages = messages
|
getChat(chatId).messages = messages
|
||||||
saveChatStore()
|
saveChatStore()
|
||||||
}, 100)
|
}, 200)
|
||||||
} else {
|
} else {
|
||||||
getChat(chatId).messages = messages
|
getChat(chatId).messages = messages
|
||||||
saveChatStore()
|
saveChatStore()
|
||||||
|
|
Loading…
Reference in New Issue