From 3015cd1dc06a253ba215a3c9c617281579c9be9c Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Fri, 18 Dec 2020 16:07:32 +0100 Subject: [PATCH] ignore "text/calendar" content type --- app/email_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/email_utils.py b/app/email_utils.py index 26a1a53e..f6898807 100644 --- a/app/email_utils.py +++ b/app/email_utils.py @@ -809,6 +809,7 @@ def replace(msg: Message, old, new) -> Message: or content_type.startswith("audio/") or content_type == "multipart/signed" or content_type.startswith("application/") + or content_type == "text/calendar" ): LOG.d("not applicable for %s", content_type) return msg