ignore multipart/signed when replacing message
This commit is contained in:
parent
255a7e085a
commit
59daaa3164
|
@ -769,6 +769,7 @@ def replace(msg: Message, old, new) -> Message:
|
|||
content_type.startswith("image/")
|
||||
or content_type.startswith("video/")
|
||||
or content_type.startswith("audio/")
|
||||
or content_type == "multipart/signed"
|
||||
):
|
||||
return msg
|
||||
|
||||
|
|
Loading…
Reference in New Issue