summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2022-11-02 10:06:56 +0100
committerMilan Crha <mcrha@redhat.com>2022-11-02 10:08:15 +0100
commitc98a6fb43b7871473897d869a05023ad67cfa5d4 (patch)
tree747ad87eac856b57146c13eca0564eec717c81d2
parent08c04eae3999612651c96390e07a9a93552927f0 (diff)
downloadevolution-data-server-c98a6fb43b7871473897d869a05023ad67cfa5d4.tar.gz
I#435 - ECalComponentAttendee: Default CUTYPE is INDIVIDUAL
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/435
-rw-r--r--src/calendar/libecal/e-cal-component-attendee.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/calendar/libecal/e-cal-component-attendee.c b/src/calendar/libecal/e-cal-component-attendee.c
index b295f59f6..8ef73e8e9 100644
--- a/src/calendar/libecal/e-cal-component-attendee.c
+++ b/src/calendar/libecal/e-cal-component-attendee.c
@@ -66,7 +66,7 @@ e_cal_component_attendee_new (void)
ECalComponentAttendee *attendee;
attendee = g_slice_new0 (ECalComponentAttendee);
- attendee->cutype = I_CAL_CUTYPE_NONE;
+ attendee->cutype = I_CAL_CUTYPE_INDIVIDUAL;
attendee->role = I_CAL_ROLE_REQPARTICIPANT;
attendee->partstat = I_CAL_PARTSTAT_NEEDSACTION;
attendee->parameter_bag = e_cal_component_parameter_bag_new ();
@@ -270,7 +270,7 @@ e_cal_component_attendee_set_from_property (ECalComponentAttendee *attendee,
g_clear_object (&param);
param = i_cal_property_get_first_parameter (prop, I_CAL_CUTYPE_PARAMETER);
- e_cal_component_attendee_set_cutype (attendee, param ? i_cal_parameter_get_cutype (param) : I_CAL_CUTYPE_NONE);
+ e_cal_component_attendee_set_cutype (attendee, param ? i_cal_parameter_get_cutype (param) : I_CAL_CUTYPE_INDIVIDUAL);
g_clear_object (&param);
param = i_cal_property_get_first_parameter (prop, I_CAL_ROLE_PARAMETER);