aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2019-04-05 14:19:45 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2019-06-02 23:02:07 +0200
commita1359ca7e7286d87b8393ba4782fc79131e6976a (patch)
tree716a9bf0ff63f3b117bdd3a21eb2f82d1db4b553 /wee_slack.py
parent8304491a63566fad1764f569d6be1052f7889982 (diff)
downloadwee-slack-a1359ca7e7286d87b8393ba4782fc79131e6976a.tar.gz
Set nick tag for thread messages
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 632064e..bceb1ef 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2130,7 +2130,7 @@ class SlackThreadChannel(SlackChannelCommon):
# tags = tag("dm")
# self.new_messages = True
# else:
- tags = tag("default")
+ tags = tag("default", user=tag_nick)
# self.new_messages = True
w.prnt_date_tags(self.channel_buffer, ts.major, tags, data)
modify_last_print_time(self.channel_buffer, ts.minor)
@@ -2141,7 +2141,7 @@ class SlackThreadChannel(SlackChannelCommon):
self.got_history = True
for message in self.parent_message.submessages:
text = self.render(message)
- self.buffer_prnt(message.sender, text, message.ts)
+ self.buffer_prnt(message.sender, text, message.ts, tag_nick=message.sender_plain)
def main_message_keys_reversed(self):
return (message.ts for message in reversed(self.parent_message.submessages))