Improve direct message history and SQLite resilience

This commit is contained in:
AidarKC
2026-07-22 13:09:42 +04:00
parent 2f3b1571e5
commit 93673e5786
18 changed files with 908 additions and 233 deletions
+1 -1
View File
@@ -1203,7 +1203,7 @@ async function init() {
}
if (refBaseKey) {
if (messageType === 3) {
markOutgoingReadByBaseKey(refBaseKey);
markOutgoingReadByBaseKey(refBaseKey, Number(parsed.timeMs || 0));
} else {
if (markIncomingReadByBaseKey(refBaseKey)) {
shouldRefreshToolbarUnread = true;