projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c841c74
)
When appropriate, delete the message from the inbox after processing rules.
author
Art Cancro
<ajc@citadel.org>
Sun, 22 Nov 2020 21:59:52 +0000
(16:59 -0500)
committer
Art Cancro
<ajc@citadel.org>
Sun, 22 Nov 2020 21:59:52 +0000
(16:59 -0500)
citadel/modules/inboxrules/serv_inboxrules.c
patch
|
blob
|
history
diff --git
a/citadel/modules/inboxrules/serv_inboxrules.c
b/citadel/modules/inboxrules/serv_inboxrules.c
index 5d2e4a12be0a45825dfec7eb4fde353f8d170204..7848c0294ae0f7e58a05c17385ff268b30bcdbc3 100644
(file)
--- a/
citadel/modules/inboxrules/serv_inboxrules.c
+++ b/
citadel/modules/inboxrules/serv_inboxrules.c
@@
-995,8
+995,8
@@
void inbox_do_msg(long msgnum, void *userdata) {
}
if (!keep_message) { // Delete the copy of the message that is currently in the inbox, if rules dictated that.
- // FIXME delete the message
syslog(LOG_DEBUG, "\033[36m\033[7mDELETE FROM INBOX\033[0m");
+ CtdlDeleteMessages(CC->room.QRname, &msgnum, 1, ""); // we're in the inbox already
}
ii->lastproc = msgnum; // make note of the last message we processed, so we don't scan the whole inbox again