aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)