mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Default /autoaway check on
This commit is contained in:
parent
5a0121306d
commit
8400ae29ba
@ -400,7 +400,11 @@ prefs_set_autoaway_message(gchar *value)
|
|||||||
gboolean
|
gboolean
|
||||||
prefs_get_autoaway_check(void)
|
prefs_get_autoaway_check(void)
|
||||||
{
|
{
|
||||||
return g_key_file_get_boolean(prefs, "autoaway", "check", NULL);
|
if (g_key_file_has_key(prefs, "autoaway", "check", NULL)) {
|
||||||
|
return g_key_file_get_boolean(prefs, "autoaway", "check", NULL);
|
||||||
|
} else {
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user