commit ea66118e18b4b9c8fcdd4022352d03b72b2cc268
parent c0a0a102b22c705d5abd1b288f6e6aa83824f9aa
Author: Jaromil <jaromil@dyne.org>
Date:   Mon,  6 Jan 2014 17:25:48 +0100
stop marking as old when peeking
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/zlibs/email b/src/zlibs/email
@@ -337,6 +337,8 @@ set imap_pass = "${password}"
 EOF
 	unset password
 	print "source '$tmp'" > $TMPDIR/muttpass
+        # when peeking don't mark unread messages as Old
+	print "unset mark_old" >> $TMPDIR/muttpass
 	(sleep 1;
 	    cp /dev/null $TMPDIR/muttpass
 	    unlink $tmp # secure delete in ram