Calendar: Meeting deletion can sometimes send duplicate cancel messages

Servers with "save-schedule" capability send meeting change notifications
on their own. When deleting a meeting and sending specific cancellation
mail, it doesn't make much sense to let the server send another cancellation
mail by itself, due to the deletion, thus let the calendar backend know
that it can avoid sending the message.
This commit is contained in:
Milan Crha
2024-02-28 10:31:55 +01:00
parent f9f9cbec43
commit 0d35a40d1b
+3
View File
@@ -202,6 +202,9 @@ calendar_view_delete_event (ECalendarView *cal_view,
itip_send_component_with_model (model, I_CAL_METHOD_CANCEL,
comp, client, NULL, NULL,
NULL, E_ITIP_SEND_COMPONENT_FLAG_STRIP_ALARMS);
/* attendees will know by the above cancel message */
op_flags = E_CAL_OPERATION_FLAG_DISABLE_ITIP_MESSAGE;
} else {
op_flags = E_CAL_OPERATION_FLAG_DISABLE_ITIP_MESSAGE;
}