ignore "text/directory" in replace()

This commit is contained in:
Son NK 2020-12-30 09:48:58 +01:00
parent 0df4d1a93d
commit 74a63db835
1 changed files with 1 additions and 0 deletions

View File

@ -810,6 +810,7 @@ def replace(msg: Message, old, new) -> Message:
or content_type == "multipart/signed"
or content_type.startswith("application/")
or content_type == "text/calendar"
or content_type == "text/directory"
):
LOG.d("not applicable for %s", content_type)
return msg