mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
add exit title preference
This commit is contained in:
parent
30610f7c48
commit
f1641f3cf7
@ -647,6 +647,8 @@ _get_key(preference_t pref)
|
||||
return "roster.resource";
|
||||
case PREF_ROSTER_BY:
|
||||
return "roster.by";
|
||||
case PREF_EXIT_TITLE:
|
||||
return "exit.title";
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
@ -669,6 +671,7 @@ _get_default_boolean(preference_t pref)
|
||||
case PREF_MUC_PRIVILEGES:
|
||||
case PREF_PRESENCE:
|
||||
case PREF_WRAP:
|
||||
case PREF_EXIT_TITLE:
|
||||
return TRUE;
|
||||
default:
|
||||
return FALSE;
|
||||
|
@ -95,7 +95,8 @@ typedef enum {
|
||||
PREF_LOG_SHARED,
|
||||
PREF_OTR_LOG,
|
||||
PREF_OTR_WARN,
|
||||
PREF_OTR_POLICY
|
||||
PREF_OTR_POLICY,
|
||||
PREF_EXIT_TITLE,
|
||||
} preference_t;
|
||||
|
||||
typedef struct prof_alias_t {
|
||||
|
Loading…
Reference in New Issue
Block a user