aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 15fe17c4e9..b8f8e29df4 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -1117,7 +1117,7 @@ get_folderinfo_get (struct _mail_msg *mm)
flags |= CAMEL_STORE_FOLDER_INFO_SUBSCRIBED;
m->info = camel_store_get_folder_info (m->store, NULL, flags, &mm->ex);
- if (m->info && m->info->url)
+ if (m->info && m->info->url && (m->store->flags & CAMEL_STORE_VTRASH))
add_vtrash_info (m->store, m->info);
}