Work on fixing bugs and reformat
This commit is contained in:
@@ -922,7 +922,9 @@ class XMPPComponent(ComponentXMPP):
|
||||
}
|
||||
)
|
||||
|
||||
if (not body or body.strip().lower() in {"[no body]", "(no text)"}) and attachments:
|
||||
if (
|
||||
not body or body.strip().lower() in {"[no body]", "(no text)"}
|
||||
) and attachments:
|
||||
attachment_urls = [
|
||||
str(item.get("url") or "").strip()
|
||||
for item in attachments
|
||||
|
||||
Reference in New Issue
Block a user