[Commits] [SCM] claws branch, master, updated. 3.11.1-143-g8549b2a

ticho at claws-mail.org ticho at claws-mail.org
Fri Jun 19 17:34:48 CEST 2015


The branch, master has been updated
       via  8549b2a6cb15d0b3bbeef6284e7c3bda7ea3d0a7 (commit)
      from  c483d06ee33be8a2112116c3156411d98ee717fc (commit)

Summary of changes:
 src/filtering.c |    4 ----
 1 file changed, 4 deletions(-)


- Log -----------------------------------------------------------------
commit 8549b2a6cb15d0b3bbeef6284e7c3bda7ea3d0a7
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Fri Jun 19 17:33:49 2015 +0200

    The "mark_as_spam" filtering action does not move message.
    
    The alternative was to rename the action to
    "mark_as_spam_and_move_to_spam_folder".

diff --git a/src/filtering.c b/src/filtering.c
index ff6eece..8aa7cff 100644
--- a/src/filtering.c
+++ b/src/filtering.c
@@ -399,10 +399,6 @@ static gboolean filteringaction_apply(FilteringAction * action, MsgInfo * info)
 		FLUSH_COPY_IF_NEEDED(info);
 		procmsg_spam_learner_learn(info, NULL, TRUE);
 		procmsg_msginfo_change_flags(info, MSG_SPAM, 0, MSG_NEW|MSG_UNREAD, 0);
-		if (procmsg_spam_get_folder(info)) {
-			info->filter_op = IS_MOVE;
-			info->to_filter_folder = procmsg_spam_get_folder(info);
-		}
 		return TRUE;
 
 	case MATCHACTION_MARK_AS_HAM:

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list