From a87ba9760737d2bde595eb86273d2fd290c0cab0 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Thu, 6 Nov 2008 20:23:15 +0000 Subject: #541121: itip-formatter: don't allow sending a response to meeting invitation replies svn path=/trunk/; revision=36747 --- plugins/itip-formatter/ChangeLog | 9 ++++++++- plugins/itip-formatter/itip-formatter.c | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'plugins/itip-formatter') 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 + + ** Fix for bug #541121 + + * itip-formatter.c: don't allow sending a response to meeting + invitation replies + 2008-10-20 Milan Crha ** 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 +2008-10-10 Patrick Ohly ** #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; } -- cgit v1.2.3