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 acdf713..e03719e 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -3746,7 +3746,7 @@ def command_linkarchive(data, current_buffer, args):
message_id = args
message = channel.hashed_messages.get(message_id)
if message:
- url += '{}{:0>6}'.format(message.ts.majorstr(), message.ts.minorstr())
+ url += 'p{}{:0>6}'.format(message.ts.majorstr(), message.ts.minorstr())
if isinstance(message, SlackThreadMessage):
url += "?thread_ts={}&cid={}".format(message.parent_message.ts, channel.identifier)
else: