Skip to content

Commit db20dc2

Browse files
committed
fix: extend read timestamp duration from 1s to 3s
1 parent 4505bf2 commit db20dc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/shared/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function getReadTimestamps(): ReadTimestamps {
1515
export function updateReadTimestamp(chatId: string): void {
1616
try {
1717
const timestamps = getReadTimestamps();
18-
timestamps[chatId] = Date.now() + 1000;
18+
timestamps[chatId] = Date.now() + 3000;
1919
localStorage.setItem(READ_TIMESTAMPS_KEY, JSON.stringify(timestamps));
2020
} catch (error) {
2121
console.error("Error updating read timestamp in localStorage:", error);

0 commit comments

Comments
 (0)