aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorcalve <calvinh34@gmail.com>2015-10-28 11:48:31 +0100
committercalve <calvinh34@gmail.com>2016-01-04 11:11:19 +0100
commitc9f9533200fbb8a7e7bc9a9f21f8db175a8d019c (patch)
tree8c4d57185cf2cc82d05f4472f0ab6a707c765409 /wee_slack.py
parentb16d11e1057724b26339b72d4a4b765e1bc58c7a (diff)
downloadwee-slack-c9f9533200fbb8a7e7bc9a9f21f8db175a8d019c.tar.gz
Call ``unfurl_ref()`` with ``ignore_alt_text``
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