From 2c0eb32f75c59562319858ef97a7cf43fbfad7aa Mon Sep 17 00:00:00 2001 From: Michael Zucci Date: Fri, 23 Jan 2004 04:23:58 +0000 Subject: (imap_get_message): revert peterw's change of 2002-07-15, instead of checking for online mode here, let get_message do it when you retrieve the parts. This lets a multi-fetch (i.e. large) message work more betterer in offline mode. svn path=/trunk/; revision=24377 --- camel/providers/imap/camel-imap-folder.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'camel') diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index d8bcfcacc9..e18fbd0719 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -1935,14 +1935,6 @@ imap_get_message (CamelFolder *folder, const char *uid, CamelException *ex) (stream = camel_imap_folder_fetch_data (imap_folder, uid, "", TRUE, NULL))) return get_message_simple (imap_folder, uid, stream, ex); -#if 0 - /* If we're not actually connected and it's not in the cache, - * that's as far as we can go. - */ - if (camel_disco_store_check_online (CAMEL_DISCO_STORE (store), ex) == FALSE) - return NULL; -#endif - mi = camel_folder_summary_uid (folder->summary, uid); if (mi == NULL) { camel_exception_setv(ex, CAMEL_EXCEPTION_FOLDER_INVALID_UID, -- cgit