[evolution-data-server] I#304 - IMAPx: Inbox hidden in offline when not subscribed



commit 6d58ee3a774853c53ae35a8c5a96468445f8544e
Author: Milan Crha <mcrha redhat com>
Date:   Mon Feb 22 15:40:35 2021 +0100

    I#304 - IMAPx: Inbox hidden in offline when not subscribed
    
    Always include 'Inbox', regardless its subscribe state, when getting
    list of the folders. It's auto-added in online, thus should be available
    this way in offline as well.
    
    Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/304

 src/camel/providers/imapx/camel-imapx-store.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/camel/providers/imapx/camel-imapx-store.c b/src/camel/providers/imapx/camel-imapx-store.c
index dfded9913..0fd85f4a7 100644
--- a/src/camel/providers/imapx/camel-imapx-store.c
+++ b/src/camel/providers/imapx/camel-imapx-store.c
@@ -1350,7 +1350,7 @@ get_folder_info_offline (CamelStore *store,
                if (!si_is_match)
                        continue;
 
-               if (!use_subscriptions && !(si->flags & CAMEL_STORE_INFO_FOLDER_SUBSCRIBED) &&
+               if (!si_is_inbox && !use_subscriptions && !(si->flags & CAMEL_STORE_INFO_FOLDER_SUBSCRIBED) &&
                    !(flags & CAMEL_STORE_FOLDER_INFO_SUBSCRIPTION_LIST)) {
                        CamelIMAPXMailbox *mailbox;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]