aboutsummaryrefslogtreecommitdiffstats
path: root/slack/config.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-08-26 21:00:07 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commit4b68e8721d18f83c58fea5109da95346363bb9e8 (patch)
tree540d5bbe9995dd114f0d05d0a024197e9d1e34a1 /slack/config.py
parent6722517e91c19cc7c1d39335a1b64020ac7c0b9b (diff)
downloadwee-slack-4b68e8721d18f83c58fea5109da95346363bb9e8.tar.gz
Support showing thread replies in the channel
Diffstat (limited to 'slack/config.py')
-rw-r--r--slack/config.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/slack/config.py b/slack/config.py
index 4503709..9cca910 100644
--- a/slack/config.py
+++ b/slack/config.py
@@ -156,6 +156,13 @@ class SlackConfigSectionLook:
False,
)
+ self.display_thread_replies_in_channel = WeeChatOption(
+ self._section,
+ "display_thread_replies_in_channel",
+ "display thread replies in the parent channel; can be overridden per buffer with the buffer localvar display_thread_replies_in_channel; note that it only takes effect for new messages; note that due to limitations in the Slack API, on load only thread messages for parents that are in the buffer and thread messages in subscribed threads will be displayed (but all thread messages received while connected will be displayed)",
+ False,
+ )
+
self.external_user_suffix = WeeChatOption(
self._section,
"external_user_suffix",