aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_buffer.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-09-17 23:17:34 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commit15d222cfe645e0f7b62738077cce534285f0169e (patch)
tree708db0eb52c4ab29f87a037adf9297e8ee6b7008 /slack/slack_buffer.py
parent1672b9038226ac2001cd89bfcc8d096b995d4bbe (diff)
downloadwee-slack-15d222cfe645e0f7b62738077cce534285f0169e.tar.gz
Highlight messages with mentions
Diffstat (limited to 'slack/slack_buffer.py')
-rw-r--r--slack/slack_buffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/slack_buffer.py b/slack/slack_buffer.py
index 72e7814..0e16845 100644
--- a/slack/slack_buffer.py
+++ b/slack/slack_buffer.py
@@ -247,8 +247,8 @@ class SlackBuffer(ABC):
self.workspace.send_typing(self)
async def print_message(self, message: SlackMessage, backlog: bool = False):
- tags = await message.tags(backlog=backlog)
rendered = await message.render(self.context)
+ tags = await message.tags(backlog=backlog)
weechat.prnt_date_tags(self.buffer_pointer, message.ts.major, tags, rendered)
def _buffer_input_cb(self, data: str, buffer: str, input_data: str) -> int: