aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2016-09-29 16:07:50 -0700
committerRyan Huber <rhuber@gmail.com>2016-09-29 16:07:50 -0700
commita6525e3da5e1a11eb9941860f7875ee1def9243e (patch)
tree4e6a969db392edfb6fb116db508586a6ecb34147 /wee_slack.py
parenta7b34fedd9d01d4b5e0f05b510dea3b1bf443cff (diff)
downloadwee-slack-a6525e3da5e1a11eb9941860f7875ee1def9243e.tar.gz
minor tweak to support new identifiers
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 11b4233..4850350 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1922,7 +1922,7 @@ def unwrap_attachments(message_json, text_before):
def resolve_ref(ref):
- if ref.startswith('@U'):
+ if ref.startswith('@U') or ref.startswith('@W'):
if users.find(ref[1:]):
try:
return "@{}".format(users.find(ref[1:]).name)