mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-03 10:46:12 +00:00
Settings: contact filter toggles for DM and Room Servers
Adds SECTION_CONTACTS with two items under Settings: - DM: "fav" (default) / "all" — controlled by dm_show_all in NodePrefs - Rooms: "all" (default) / "fav" — controlled by room_fav_only in NodePrefs Both fields default to 0, preserving current behaviour on firmware upgrade. buildContactList() reads the prefs to filter accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
9cbbaa8852
commit
1a1cda4a1a
@@ -42,4 +42,6 @@ struct NodePrefs { // persisted to file
|
||||
char custom_msgs[10][140]; // user-defined quick messages (supports {loc}, {time})
|
||||
uint64_t ch_notif_override; // bitmask: bit i = channel i has explicit notification setting
|
||||
uint64_t ch_notif_muted; // bitmask: bit i = channel i muted (only if override bit set)
|
||||
uint8_t dm_show_all; // 0=favourites only (default), 1=all chat contacts
|
||||
uint8_t room_fav_only; // 0=all room servers (default), 1=favourites only
|
||||
};
|
||||
Reference in New Issue
Block a user