diff options
Diffstat (limited to 'slack/config.py')
-rw-r--r-- | slack/config.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/slack/config.py b/slack/config.py index a1ab999..d4a36bd 100644 --- a/slack/config.py +++ b/slack/config.py @@ -38,8 +38,8 @@ class SlackConfigSectionColor: self.reaction_suffix = WeeChatOption( self._section, "reaction_suffix", - "text color for the [:wave:(@user)] suffix on messages that have " - "reactions attached to them.", + "text color for the [:wave:(@user)] suffix on messages that have" + " reactions attached to them.", WeeChatColor("darkgray"), ) @@ -79,6 +79,14 @@ class SlackConfigSectionWorkspace: 30, ) + self.use_real_names = self._create_option( + "use_real_names", + "use real names as the nicks for all users. When this is" + " false, display names will be used if set, with a fallback" + " to the real name if display name is not set", + False, + ) + def _create_option( self, name: str, |