[Commits] [SCM] claws branch, master, updated. 3.11.1-180-gf8bac19

claws at claws-mail.org claws at claws-mail.org
Tue Jun 30 18:49:24 CEST 2015


The branch, master has been updated
       via  f8bac1960b52c8c07c7501d9cd9c1a566d4c78ec (commit)
      from  4a67d598527a570c42910e2b644ff501597febee (commit)

Summary of changes:
 src/filtering.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit f8bac1960b52c8c07c7501d9cd9c1a566d4c78ec
Author: Paul <paul at claws-mail.org>
Date:   Tue Jun 30 17:49:17 2015 +0100

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

diff --git a/src/filtering.c b/src/filtering.c
index a72dc8d..1b565a5 100644
--- 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:

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list