aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Ohly <pohly@src.gnome.org>2008-11-07 04:23:15 +0800
committerPatrick Ohly <pohly@src.gnome.org>2008-11-07 04:23:15 +0800
commita87ba9760737d2bde595eb86273d2fd290c0cab0 (patch)
treec75fcabea9f8a02696b021a0a6b1bd2403854a37
parent51ef73bbc56e9bd5a2428ff6054e1851ddc622fa (diff)
downloadgsoc2013-evolution-a87ba9760737d2bde595eb86273d2fd290c0cab0.tar.gz
gsoc2013-evolution-a87ba9760737d2bde595eb86273d2fd290c0cab0.tar.zst
gsoc2013-evolution-a87ba9760737d2bde595eb86273d2fd290c0cab0.zip
#541121: itip-formatter: don't allow sending a response to meeting
invitation replies svn path=/trunk/; revision=36747
-rw-r--r--plugins/itip-formatter/ChangeLog9
-rw-r--r--plugins/itip-formatter/itip-formatter.c3
2 files changed, 11 insertions, 1 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog
index f408872cdc..966cc611e7 100644
--- a/plugins/itip-formatter/ChangeLog
+++ b/plugins/itip-formatter/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-06 Patrick Ohly <patrick.ohly@gmx.de>
+
+ ** Fix for bug #541121
+
+ * itip-formatter.c: don't allow sending a response to meeting
+ invitation replies
+
2008-10-20 Milan Crha <mcrha@redhat.com>
** Fix for bug #514989
@@ -18,7 +25,7 @@
* itip-formatter.c: (view_response_cb):
Use the proper functions to traverse messages in a folder's summary.
-2008-10-10 Patrick Ohly <pohly@ecld0pohly>
+2008-10-10 Patrick Ohly <patrick.ohly@gmx.de>
** #541121: improved itip formatter: allow replying to forwarded
and already imported invitations; honor RVSP flag in invitation
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index a2ceffb77b..ae7190174b 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -686,9 +686,12 @@ find_cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data)
/*
* Only allow replies if backend doesn't do that automatically.
+ * Only enable it for forwarded invitiations (PUBLISH) or direct
+ * invitiations (REQUEST), but not replies (REPLY).
* Replies only make sense for events with an organizer.
*/
if (!e_cal_get_static_capability (ecal, CAL_STATIC_CAPABILITY_SAVE_SCHEDULES) &&
+ (pitip->method == ICAL_METHOD_PUBLISH || pitip->method == ICAL_METHOD_REQUEST) &&
pitip->has_organizer) {
rsvp_enabled = TRUE;
}