mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 18:16:21 +00:00
Show OTR coloured status
Customisable within theme files e.g.: titlebar.unencrypted=red titlebar.encrypted=green titlebar.trusted=red titlebar.untrusted=green Shows [unencrypted] for all non-OTR chat Disable with '/otr warn off'
This commit is contained in:
@@ -293,6 +293,7 @@ _get_group(preference_t pref)
|
||||
case PREF_HISTORY:
|
||||
case PREF_MOUSE:
|
||||
case PREF_STATUSES:
|
||||
case PREF_OTR_WARN:
|
||||
return "ui";
|
||||
case PREF_STATES:
|
||||
case PREF_OUTTYPE:
|
||||
@@ -368,6 +369,8 @@ _get_key(preference_t pref)
|
||||
return "account";
|
||||
case PREF_OTR_LOG:
|
||||
return "otr";
|
||||
case PREF_OTR_WARN:
|
||||
return "otr.warn";
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
@@ -380,6 +383,7 @@ _get_default_boolean(preference_t pref)
|
||||
{
|
||||
case PREF_STATUSES:
|
||||
case PREF_AUTOAWAY_CHECK:
|
||||
case PREF_OTR_WARN:
|
||||
return TRUE;
|
||||
default:
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user