aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 5bb32de..8e1da1c 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2435,7 +2435,8 @@ def command_mute(current_buffer, args):
def command_openweb(current_buffer, args):
channel = EVENTROUTER.weechat_controller.buffers[current_buffer]
- url = "https://{}/archives/{}/p{}".format(channel.team.domain, channel.slack_name, SlackTS())
+ now = SlackTS()
+ url = "https://{}/archives/{}/p{}{}".format(channel.team.domain, channel.slack_name, now.majorstr(), now.minorstr())
w.prnt_date_tags(channel.team.channel_buffer, SlackTS().major, "openweb,logger_backlog_end,notify_none", url)
def command_nodistractions(current_buffer, args):