mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 14:26:21 +00: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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user