aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter/itip-formatter.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/itip-formatter/itip-formatter.c')
-rw-r--r--plugins/itip-formatter/itip-formatter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 3269ed54cc..643628cac1 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -719,8 +719,7 @@ update_item (FormatItipPObject *pitip, ItipViewResponse response)
/* Skip the actual message and the text/calendar part */
/* FIXME Do we need to skip anything else? */
- if (!g_ascii_strcasecmp (camel_mime_part_get_content_id (part), camel_mime_part_get_content_id ((CamelMimePart *) msg))
- || !g_ascii_strcasecmp (camel_mime_part_get_content_id (part), camel_mime_part_get_content_id (pitip->pobject.part)))
+ if (part == (CamelMimePart *) msg || part == pitip->pobject.part)
continue;
new_uri = em_utils_temp_save_part (NULL, part);