projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c483d06
)
The "mark_as_spam" filtering action does not move message.
author
Andrej Kacian
<ticho@claws-mail.org>
Fri, 19 Jun 2015 15:33:49 +0000
(17:33 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Fri, 19 Jun 2015 15:33:49 +0000
(17:33 +0200)
The alternative was to rename the action to
"mark_as_spam_and_move_to_spam_folder".
src/filtering.c
patch
|
blob
|
history
diff --git
a/src/filtering.c
b/src/filtering.c
index ff6eece6294047b85965a7de83c2d22ec29d0ed1..8aa7cffb146e64344784b85b2e0e08dde9e32cd3 100644
(file)
--- 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: