[evolution-patches] patch for #72907 (gw -mailer)
- From: Sivaiah Nallagatla <snallagatla novell com>
- To: patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] patch for #72907 (gw -mailer)
- Date: Wed, 23 Feb 2005 17:52:13 +0530
we are not caching mails which has receipent status element in the soap
response. We should always cache mails . If this is done to solve some
other problem, that has to be fixed differently.
Siva
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/ChangeLog,v
retrieving revision 1.23
diff -u -r1.23 ChangeLog
--- ChangeLog 22 Feb 2005 05:06:58 -0000 1.23
+++ ChangeLog 23 Feb 2005 12:24:10 -0000
@@ -1,3 +1,10 @@
+2005-02-23 Sivaiah Nallagatla <snallagatla novell com
+
+ * camel-groupwise-folder.c (groupwise_folder_get_message) :
+ cache message always irrespective of whehter receipent status
+ element is there or not.
+ Fix #72907
+
2005-02-22 Chenthill Palanisamy <pchenthill novell com>
* camel-groupwise-folder.c: (convert_to_calendar): Append
Index: camel-groupwise-folder.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-folder.c,v
retrieving revision 1.27
diff -u -r1.27 camel-groupwise-folder.c
--- camel-groupwise-folder.c 22 Feb 2005 05:06:58 -0000 1.27
+++ camel-groupwise-folder.c 23 Feb 2005 12:24:20 -0000
@@ -377,14 +377,13 @@
g_free (body) ;
/* add to cache */
CAMEL_GROUPWISE_FOLDER_LOCK (folder, cache_lock);
- if (!camel_medium_get_header ( CAMEL_MEDIUM (msg), "X-gw-status-opt") ) {
- if ((cache_stream = camel_data_cache_add (gw_folder->cache, "cache", uid, NULL))) {
+ if ((cache_stream = camel_data_cache_add (gw_folder->cache, "cache", uid, NULL))) {
if (camel_data_wrapper_write_to_stream ((CamelDataWrapper *) msg, cache_stream) == -1
|| camel_stream_flush (cache_stream) == -1)
camel_data_cache_remove (gw_folder->cache, "cache", uid, NULL);
camel_object_unref (cache_stream);
}
- }
+
CAMEL_GROUPWISE_FOLDER_UNLOCK (folder, cache_lock);
CAMEL_SERVICE_UNLOCK (folder->parent_store, connect_lock);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]