mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 14:56:22 +00:00
Added /privileges command to set UI option for showing roles/affiliations in rooms
This commit is contained in:
@@ -436,6 +436,7 @@ _get_group(preference_t pref)
|
||||
case PREF_STATUSES_CONSOLE:
|
||||
case PREF_STATUSES_CHAT:
|
||||
case PREF_STATUSES_MUC:
|
||||
case PREF_MUC_PRIVILEGES:
|
||||
return PREF_GROUP_UI;
|
||||
case PREF_STATES:
|
||||
case PREF_OUTTYPE:
|
||||
@@ -496,6 +497,8 @@ _get_key(preference_t pref)
|
||||
return "mouse";
|
||||
case PREF_OCCUPANTS:
|
||||
return "occupants";
|
||||
case PREF_MUC_PRIVILEGES:
|
||||
return "privileges";
|
||||
case PREF_STATUSES:
|
||||
return "statuses";
|
||||
case PREF_STATUSES_CONSOLE:
|
||||
@@ -570,6 +573,7 @@ _get_default_boolean(preference_t pref)
|
||||
case PREF_NOTIFY_TYPING_CURRENT:
|
||||
case PREF_SPLASH:
|
||||
case PREF_OCCUPANTS:
|
||||
case PREF_MUC_PRIVILEGES:
|
||||
return TRUE;
|
||||
default:
|
||||
return FALSE;
|
||||
|
||||
@@ -58,6 +58,7 @@ typedef enum {
|
||||
PREF_HISTORY,
|
||||
PREF_MOUSE,
|
||||
PREF_OCCUPANTS,
|
||||
PREF_MUC_PRIVILEGES,
|
||||
PREF_STATUSES,
|
||||
PREF_STATUSES_CONSOLE,
|
||||
PREF_STATUSES_CHAT,
|
||||
|
||||
Reference in New Issue
Block a user