mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 23:46:22 +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";
|
return "redact";
|
||||||
case PREF_OMEMO_POLICY:
|
case PREF_OMEMO_POLICY:
|
||||||
return "automatic";
|
return "automatic";
|
||||||
|
case PREF_COLOR_NICK:
|
||||||
|
return "off";
|
||||||
default:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user