Blame SOURCES/evolution-ews-3.28.5-unknown-responsetype-as-needs-action.patch

ae7d88
From 6d3dc9c50be654a9e250cfd53626f8526ff9eb70 Mon Sep 17 00:00:00 2001
ae7d88
From: Milan Crha <mcrha@redhat.com>
ae7d88
Date: Tue, 25 Sep 2018 16:20:12 +0200
ae7d88
Subject: Treat 'Unknown' ResponseType as Needs-Action
ae7d88
ae7d88
When creating a new meeting the attendees have returned by the server
ae7d88
an 'Unknown' ResponseType, which turned into 'Unknown' in the Evolution
ae7d88
UI (meeting editor). Treat it as Needs-Action instead.
ae7d88
ae7d88
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
ae7d88
index bf995813..06d56fa0 100644
ae7d88
--- a/src/calendar/e-cal-backend-ews.c
ae7d88
+++ b/src/calendar/e-cal-backend-ews.c
ae7d88
@@ -311,7 +311,7 @@ ecb_ews_responsetype_to_partstat (const gchar *responsetype)
ae7d88
 	else if (g_ascii_strcasecmp (responsetype, "NoResponseReceived") == 0)
ae7d88
 		param = icalparameter_new_partstat (ICAL_PARTSTAT_NEEDSACTION);
ae7d88
 	else if (g_ascii_strcasecmp (responsetype, "Unknown") == 0)
ae7d88
-		param = icalparameter_new_partstat (ICAL_PARTSTAT_NONE);
ae7d88
+		param = icalparameter_new_partstat (ICAL_PARTSTAT_NEEDSACTION);
ae7d88
 
ae7d88
 	if (!param)
ae7d88
 		param = icalparameter_new_partstat (ICAL_PARTSTAT_NONE);