diff options
author | Patrick Ohly <pohly@src.gnome.org> | 2008-11-07 04:23:15 +0800 |
---|---|---|
committer | Patrick Ohly <pohly@src.gnome.org> | 2008-11-07 04:23:15 +0800 |
commit | a87ba9760737d2bde595eb86273d2fd290c0cab0 (patch) | |
tree | c75fcabea9f8a02696b021a0a6b1bd2403854a37 /plugins/itip-formatter/itip-formatter.c | |
parent | 51ef73bbc56e9bd5a2428ff6054e1851ddc622fa (diff) | |
download | gsoc2013-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
Diffstat (limited to 'plugins/itip-formatter/itip-formatter.c')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |