diff options
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index ed55ef0..006cfaf 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -4665,7 +4665,9 @@ def unwrap_attachments(message_json, text_before): # $author: (if rest of line is non-empty) $title ($title_link) OR $from_url # $author: (if no $author on previous line) $text # $fields - if "original_url" in attachment and not config.link_previews: + if not config.link_previews and ( + "original_url" in attachment or attachment.get("is_app_unfurl") + ): continue t = [] prepend_title_text = "" |