mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 10:06:22 +00:00
Implemented /console private setting
This commit is contained in:
@@ -1157,6 +1157,7 @@ _get_group(preference_t pref)
|
||||
case PREF_INPBLOCK_DYNAMIC:
|
||||
case PREF_TLS_SHOW:
|
||||
case PREF_CONSOLE_MUC:
|
||||
case PREF_CONSOLE_PRIVATE:
|
||||
case PREF_CONSOLE_CHAT:
|
||||
return PREF_GROUP_UI;
|
||||
case PREF_STATES:
|
||||
@@ -1382,6 +1383,8 @@ _get_key(preference_t pref)
|
||||
return "lastactivity";
|
||||
case PREF_CONSOLE_MUC:
|
||||
return "console.muc";
|
||||
case PREF_CONSOLE_PRIVATE:
|
||||
return "console.private";
|
||||
case PREF_CONSOLE_CHAT:
|
||||
return "console.chat";
|
||||
default:
|
||||
@@ -1487,7 +1490,7 @@ _get_default_string(preference_t pref)
|
||||
case PREF_PGP_LOG:
|
||||
return "redact";
|
||||
case PREF_CONSOLE_MUC:
|
||||
return "all";
|
||||
case PREF_CONSOLE_PRIVATE:
|
||||
case PREF_CONSOLE_CHAT:
|
||||
return "all";
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user