projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fc36b1
)
Fix bug #3354, "Event cancellation uses incorrect method parameter for Content-Type...
author
Colin Leroy
<colin@colino.net>
Fri, 19 Dec 2014 15:26:37 +0000
(16:26 +0100)
committer
Colin Leroy
<colin@colino.net>
Fri, 19 Dec 2014 15:26:37 +0000
(16:26 +0100)
src/plugins/vcalendar/vcal_manager.c
patch
|
blob
|
history
diff --git
a/src/plugins/vcalendar/vcal_manager.c
b/src/plugins/vcalendar/vcal_manager.c
index a21c6a859f888fa3f8950e381dc4f9122e9903f3..2f63e61a1f17bc6d5b082dc6ccd2dec0ba57ca55 100644
(file)
--- 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);