diff options
Diffstat (limited to 'plugins/itip-formatter/itip-formatter.c')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 57e9bc2ad8..4ce4b430d5 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -2117,7 +2117,8 @@ in_proper_folder (CamelFolder *folder) uri = mail_tools_folder_to_url (folder); - if (mail_folder_cache_get_folder_info_flags (folder, &flags)) { + if (mail_folder_cache_get_folder_info_flags (mail_folder_cache_get_default (), + folder, &flags)) { /* it should be neither trash nor junk folder, */ res = ((flags & CAMEL_FOLDER_TYPE_TRASH) != CAMEL_FOLDER_TYPE_TRASH && (flags & CAMEL_FOLDER_TYPE_JUNK) != CAMEL_FOLDER_TYPE_JUNK && |