aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 525f2dc..63b7a13 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1678,7 +1678,7 @@ def unfurl_refs(text, ignore_alt_text=False):
matches = re.findall(r"(<@(?:\S*)>)", text)
for m in matches:
# Replace them with human readable strings
- text = text.replace(m, unfurl_ref(m[1:-1]))
+ text = text.replace(m, unfurl_ref(m[1:-1], ignore_alt_text))
return text