#541121: itip-formatter: don't allow sending a response to meeting

invitation replies

svn path=/trunk/; revision=36747
This commit is contained in:
Patrick Ohly
2008-11-06 20:23:15 +00:00
parent 51ef73bbc5
commit a87ba97607
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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;
}