aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 9dd7d3a..6ceb435 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -3466,7 +3466,8 @@ def unwrap_attachments(message_json, text_before):
prepend_title_text = ''
image_url = attachment.get('image_url', '')
- if image_url not in text_before_unescaped and image_url != title_link:
+ if (image_url not in text_before_unescaped
+ and image_url != from_url and image_url != title_link):
t.append(image_url)
fields = attachment.get("fields")