[Commits] [SCM] claws branch, master, updated. 3.11.1-49-gb018455

Colin colin at claws-mail.org
Fri Dec 19 16:29:25 CET 2014


The branch, master has been updated
       via  b018455356c552441128c1004be4633b9947ff7a (commit)
      from  2fc36b1cd471c4b3e11e5099a85a42415395de01 (commit)

Summary of changes:
 src/plugins/vcalendar/vcal_manager.c |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit b018455356c552441128c1004be4633b9947ff7a
Author: Colin Leroy <colin at colino.net>
Date:   Fri Dec 19 16:26:37 2014 +0100

    Fix bug #3354, "Event cancellation uses incorrect method parameter for Content-Type header"

diff --git a/src/plugins/vcalendar/vcal_manager.c b/src/plugins/vcalendar/vcal_manager.c
index a21c6a8..2f63e61 100644
--- a/src/plugins/vcalendar/vcal_manager.c
+++ b/src/plugins/vcalendar/vcal_manager.c
@@ -1245,11 +1245,14 @@ static gchar *write_headers(PrefsAccount 	*account,
 		else if (status == ICAL_PARTSTAT_TENTATIVE)
 			prefix = _("Tentatively Accepted: ");
 		else 
-			prefix = "Re: ";
-	} else if (event->method == ICAL_METHOD_PUBLISH)
+			prefix = "Re: "; 
+	} else if (event->method == ICAL_METHOD_PUBLISH) {
 		method_str = "PUBLISH";
-	else
-		method_str = "REQUEST";		
+	} else if (event->method == ICAL_METHOD_CANCEL) {
+		method_str = "CANCEL";
+	} else {
+		method_str = "REQUEST";
+	}
 	
 	subject = g_strdup_printf("%s%s", prefix, event->summary);
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list