diff options
author | Aurelien Aptel <aaptel@suse.com> | 2019-12-03 20:49:22 +0100 |
---|---|---|
committer | Aurelien Aptel <aaptel@suse.com> | 2019-12-03 21:10:39 +0100 |
commit | 15064d97397779d172c993100a763f48a52238e1 (patch) | |
tree | fd699342d3f6e5fc21c3b36ea9f97084a5751291 /src/config/preferences.c | |
parent | 19de066008c69b24cc3d64a8781089e56d416a53 (diff) | |
download | profani-tty-15064d97397779d172c993100a763f48a52238e1.tar.gz |
XEP-0392: config: add "color.nick" bool option
the option will control whether to enable coloration of usernames based on the hashing algorithm described in XEP-0392.
Diffstat (limited to 'src/config/preferences.c')
-rw-r--r-- | src/config/preferences.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index 2849a8e1..a5893623 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -1710,6 +1710,7 @@ _get_group(preference_t pref) case PREF_CONSOLE_MUC: case PREF_CONSOLE_PRIVATE: case PREF_CONSOLE_CHAT: + case PREF_COLOR_NICK: case PREF_STATUSBAR_SHOW_NAME: case PREF_STATUSBAR_SHOW_NUMBER: case PREF_STATUSBAR_SELF: @@ -1969,6 +1970,8 @@ _get_key(preference_t pref) return "console.private"; case PREF_CONSOLE_CHAT: return "console.chat"; + case PREF_COLOR_NICK: + return "color.nick"; case PREF_BOOKMARK_INVITE: return "bookmark.invite"; case PREF_PLUGINS_SOURCEPATH: |