1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -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:
Paul Fariello 2020-02-05 15:29:17 +01:00
parent 7f956aa4f5
commit be7157065c

View File

@ -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;
}