diff options
Diffstat (limited to 'libsylph/procmsg.c')
-rw-r--r-- | libsylph/procmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/procmsg.c b/libsylph/procmsg.c index b4431ea2..112d03c5 100644 --- a/libsylph/procmsg.c +++ b/libsylph/procmsg.c @@ -1475,7 +1475,7 @@ void procmsg_empty_trash(FolderItem *trash) if (!trash) return; - g_return_if_fail(trash->stype == F_TRASH); + g_return_if_fail(trash->stype == F_TRASH || trash->stype == F_JUNK); if (trash->total > 0) { debug_print("Emptying messages in %s ...\n", trash->path); |