diff options
author | Ryan Huber <rhuber@gmail.com> | 2016-09-29 16:07:50 -0700 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2016-09-29 16:07:50 -0700 |
commit | a6525e3da5e1a11eb9941860f7875ee1def9243e (patch) | |
tree | 4e6a969db392edfb6fb116db508586a6ecb34147 | |
parent | a7b34fedd9d01d4b5e0f05b510dea3b1bf443cff (diff) | |
download | wee-slack-a6525e3da5e1a11eb9941860f7875ee1def9243e.tar.gz |
minor tweak to support new identifiers
-rw-r--r-- | wee_slack.py | 2 |
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) |