aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2004-01-23 12:23:58 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-23 12:23:58 +0800
commit2c0eb32f75c59562319858ef97a7cf43fbfad7aa (patch)
tree74d49860789f9a971dfe7142a8897cedff70dedc
parent94f85ffd2262fc7e294e1edc0a569e8e4b855306 (diff)
downloadgsoc2013-evolution-2c0eb32f75c59562319858ef97a7cf43fbfad7aa.tar
gsoc2013-evolution-2c0eb32f75c59562319858ef97a7cf43fbfad7aa.tar.gz
gsoc2013-evolution-2c0eb32f75c59562319858ef97a7cf43fbfad7aa.tar.bz2
gsoc2013-evolution-2c0eb32f75c59562319858ef97a7cf43fbfad7aa.tar.lz
gsoc2013-evolution-2c0eb32f75c59562319858ef97a7cf43fbfad7aa.tar.xz
gsoc2013-evolution-2c0eb32f75c59562319858ef97a7cf43fbfad7aa.tar.zst
gsoc2013-evolution-2c0eb32f75c59562319858ef97a7cf43fbfad7aa.zip
(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
-rw-r--r--camel/providers/imap/camel-imap-folder.c8
1 files changed, 0 insertions, 8 deletions
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,