mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Add default pref for PREF_COLOR_NICK
Fix a segfault if corresponding preference is not saved in config file.
This commit is contained in:
parent
7f956aa4f5
commit
be7157065c
@ -2137,6 +2137,8 @@ _get_default_string(preference_t pref)
|
||||
return "redact";
|
||||
case PREF_OMEMO_POLICY:
|
||||
return "automatic";
|
||||
case PREF_COLOR_NICK:
|
||||
return "off";
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user