talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit f8bac1960b52c8c07c7501d9cd9c1a566d4c78ec
parent 4a67d598527a570c42910e2b644ff501597febee
Author: Paul <paul@claws-mail.org>
Date:   Tue, 30 Jun 2015 17:49:17 +0100

make filtering action 'mark_as_unread' set the unread flag AND remove the new flag

Diffstat:
Msrc/filtering.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/filtering.c b/src/filtering.c @@ -378,7 +378,7 @@ static gboolean filteringaction_apply(FilteringAction * action, MsgInfo * info) case MATCHACTION_MARK_AS_UNREAD: FLUSH_COPY_IF_NEEDED(info); - procmsg_msginfo_set_flags(info, MSG_UNREAD, 0); + procmsg_msginfo_change_flags(info, MSG_UNREAD, 0, MSG_NEW, 0); return TRUE; case MATCHACTION_MARK_AS_SPAM: