diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2020-05-16 15:38:56 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2020-05-30 21:13:21 +0200 |
commit | 624d5ba2e15ee5a2794273f9b9989d617d9d149a (patch) | |
tree | bc26337a3a5f66b612721020b938af9c1dd14b02 | |
parent | e00d0b9e5ae8ca388fc45618a92969926c238761 (diff) | |
download | wee-slack-624d5ba2e15ee5a2794273f9b9989d617d9d149a.tar.gz |
Rerender thread messages when hash changes
This is necessary for thread messages rendered in the channel, either
broadcast messages or when thread_messages_in_channel is on.
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index 000c8ea..6b541fb 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -2190,6 +2190,8 @@ class SlackChannelHashedMessages(dict): self.channel.change_message(other_message.ts) if other_message.thread_channel: other_message.thread_channel.rename() + for thread_message in other_message.submessages: + self.channel.change_message(thread_message) self[short_hash] = key self[key] = short_hash |