mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 23:34:05 +08:00
ignore "text/directory" in replace()
This commit is contained in:
parent
0df4d1a93d
commit
74a63db835
1 changed files with 1 additions and 0 deletions
|
@ -810,6 +810,7 @@ def replace(msg: Message, old, new) -> Message:
|
||||||
or content_type == "multipart/signed"
|
or content_type == "multipart/signed"
|
||||||
or content_type.startswith("application/")
|
or content_type.startswith("application/")
|
||||||
or content_type == "text/calendar"
|
or content_type == "text/calendar"
|
||||||
|
or content_type == "text/directory"
|
||||||
):
|
):
|
||||||
LOG.d("not applicable for %s", content_type)
|
LOG.d("not applicable for %s", content_type)
|
||||||
return msg
|
return msg
|
||||||
|
|
Loading…
Reference in a new issue