From a971b094fdd1b1ef3e2f1793140d7489347a7a08 Mon Sep 17 00:00:00 2001 From: ketmar Date: Wed, 14 Jun 2023 11:48:45 +0000 Subject: [PATCH] do not mark message as read when moved to another folder with "next_unread" FossilOrigin-Name: 769b4099ed412a25a12e9214ab47041b6e68a5e0de23bd65e64a2f3101db5c4d --- chiroptera.d | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chiroptera.d b/chiroptera.d index 0782186..1d963bb 100644 --- a/chiroptera.d +++ b/chiroptera.d @@ -911,7 +911,10 @@ void initConsole () { if (uid == mainPane.msglistCurrUId) return; mainPane.msglistCurrUId = uid; mainPane.threadListPositionDirty(); - chiroSetMessageRead(mainPane.lastDecodedTid, mainPane.msglistCurrUId); + // don't mark the message as read + //chiroSetMessageRead(mainPane.lastDecodedTid, mainPane.msglistCurrUId); + chiroSetMessageUnread(mainPane.lastDecodedTid, mainPane.msglistCurrUId); + mainPane.setupUnreadTimer(); setupTrayAnimation(); postScreenRebuild(); return; -- 2.11.4.GIT