add exit title preference

This commit is contained in:
Will Song
2015-01-08 10:02:30 -06:00
parent 30610f7c48
commit f1641f3cf7
2 changed files with 5 additions and 1 deletions

View File

@@ -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;

View File

@@ -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 {