From 8549b2a6cb15d0b3bbeef6284e7c3bda7ea3d0a7 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Fri, 19 Jun 2015 17:33:49 +0200 Subject: [PATCH] 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". --- src/filtering.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/filtering.c b/src/filtering.c index ff6eece62..8aa7cffb1 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: -- 2.25.1