mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
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.
This commit is contained in:
parent
19de066008
commit
15064d9739
@ -11,6 +11,7 @@ flash=false
|
||||
vercheck=false
|
||||
statuses.console=all
|
||||
statuses.chat=all
|
||||
color.nick=true
|
||||
|
||||
[connection]
|
||||
autoping=60
|
||||
|
@ -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:
|
||||
|
@ -143,6 +143,7 @@ typedef enum {
|
||||
PREF_CONSOLE_MUC,
|
||||
PREF_CONSOLE_PRIVATE,
|
||||
PREF_CONSOLE_CHAT,
|
||||
PREF_COLOR_NICK,
|
||||
PREF_BOOKMARK_INVITE,
|
||||
PREF_PLUGINS_SOURCEPATH,
|
||||
PREF_ROOM_LIST_CACHE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user