[evolution] I#1913 - Calendar: iTip message not sent to a Room address



commit 642dce54e78ca18c8d6ead494eee55f865307735
Author: Milan Crha <mcrha redhat com>
Date:   Mon May 23 15:39:06 2022 +0200

    I#1913 - Calendar: iTip message not sent to a Room address
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1913

 src/calendar/gui/itip-utils.c | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)
---
diff --git a/src/calendar/gui/itip-utils.c b/src/calendar/gui/itip-utils.c
index 969f1e7f47..d110623eee 100644
--- a/src/calendar/gui/itip-utils.c
+++ b/src/calendar/gui/itip-utils.c
@@ -1031,27 +1031,13 @@ comp_to_list (ESourceRegistry *registry,
 
                for (l = attendees; l != NULL; l = l->next) {
                        ECalComponentAttendee *att = l->data;
-                       ICalParameterCutype cutype;
 
                        attendee_email = cal_comp_util_get_attendee_email (att);
 
                        if (!attendee_email)
                                continue;
 
-                       cutype = e_cal_component_attendee_get_cutype (att);
-
-                       /* Bugfix: 688711 - Varadhan
-                        * Resource is also considered as a "attendee". If the respective backend
-                        * is able to successfully book resources automagically, it will appear
-                        * in the users list and thereby won't get added to the list of destinations
-                        * to send the meeting invite, otherwise, as a safety measure, a meeting
-                        * invite will be sent to the resources as well. */
-                       if (cutype != I_CAL_CUTYPE_INDIVIDUAL &&
-                           cutype != I_CAL_CUTYPE_GROUP &&
-                           cutype != I_CAL_CUTYPE_RESOURCE &&
-                           cutype != I_CAL_CUTYPE_UNKNOWN)
-                               continue;
-                       else if (users_has_attendee (users, attendee_email))
+                       if (users_has_attendee (users, attendee_email))
                                continue;
                        else if (e_cal_component_attendee_get_sentby (att) &&
                                users_has_attendee (users, e_cal_component_attendee_get_sentby (att)))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]