Add /rooms cache
This commit is contained in:
@@ -1247,6 +1247,16 @@ cons_occupants_setting(void)
|
||||
cons_show("Occupants size (/occupants) : %d", size);
|
||||
}
|
||||
|
||||
void
|
||||
cons_rooms_cache_setting(void)
|
||||
{
|
||||
if (prefs_get_boolean(PREF_ROOM_LIST_CACHE)) {
|
||||
cons_show("Room list cache (/rooms cache) : ON");
|
||||
} else {
|
||||
cons_show("Room list cache (/rooms cache) : OFF");
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
cons_autoconnect_setting(void)
|
||||
{
|
||||
@@ -1906,6 +1916,7 @@ cons_show_connection_prefs(void)
|
||||
cons_reconnect_setting();
|
||||
cons_autoping_setting();
|
||||
cons_autoconnect_setting();
|
||||
cons_rooms_cache_setting();
|
||||
|
||||
cons_alert();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user