mirror of
https://github.com/profanity-im/profanity.git
synced 2025-04-22 03:32:49 -04: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";
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user