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



commit 142c84ac13bd93cc296a9b7b1aad283112c2c5d3
Author: Milan Crha <mcrha redhat com>
Date:   Mon May 23 15:41:44 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 eb7390659b..cae4f935f7 100644
--- a/src/calendar/gui/itip-utils.c
+++ b/src/calendar/gui/itip-utils.c
@@ -987,25 +987,11 @@ comp_to_list (ESourceRegistry *registry,
 
                for (l = attendees; l != NULL; l = l->next) {
                        ECalComponentAttendee *att = l->data;
-                       ICalParameterCutype cutype;
 
                        if (!e_cal_component_attendee_get_value (att))
                                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, e_cal_component_attendee_get_value (att)))
+                       if (users_has_attendee (users, e_cal_component_attendee_get_value (att)))
                                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]