Delay message cache save to 200ms

This commit is contained in:
Webifi
2023-06-17 09:13:25 -05:00
parent b893255f79
commit b89ad2ef4a

View File

@@ -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()