aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 3cca63a197..2bd3b1075b 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -2544,6 +2544,7 @@ delete_msg (GtkWidget *button, gpointer user_data)
if (FOLDER_BROWSER_IS_DESTROYED (fb))
return;
+
if (!(fb->folder->permanent_flags & CAMEL_MESSAGE_DELETED))
return;