diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2020-02-27 10:36:58 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2020-02-27 10:42:31 +0100 |
commit | 95f1ac707629e947a19011a08deb231586d0a516 (patch) | |
tree | 40ece9ba243db87046d54768dbd19342ba6d4643 /wee_slack.py | |
parent | ae468fa3c1a479d5d5c2be17978820ee289d125c (diff) | |
download | wee-slack-95f1ac707629e947a19011a08deb231586d0a516.tar.gz |
Don't send history_message to SlackThreadChannel.buffer_prnt
It isn't currently being used.
This fixes an error I introduced when I removed **kwargs from this
method in commit 6238505.
Diffstat (limited to 'wee_slack.py')
-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 3f34682..cbc492b 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -2943,7 +2943,7 @@ def subprocess_thread_message(message_json, eventrouter, team, channel, history_ channel.change_message(parent_ts) if parent_message.thread_channel and parent_message.thread_channel.active: - parent_message.thread_channel.buffer_prnt(message.sender, parent_message.thread_channel.render(message), message.ts, tag_nick=message.sender_plain, history_message=history_message) + parent_message.thread_channel.buffer_prnt(message.sender, parent_message.thread_channel.render(message), message.ts, tag_nick=message.sender_plain) elif message.ts > channel.last_read and message.has_mention(): parent_message.notify_thread(action="mention", sender_id=message_json["user"]) |