mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-03-28 17:42:45 +01:00
All settings (protected_contacts, cleanup_settings, retention_settings, manual_add_contacts) moved from .webui_settings.json file to SQLite database. Startup migration auto-imports existing file and renames it to .json.bak. Added safeguard in _on_new_contact: if firmware fires NEW_CONTACT for a contact already on the device, skip pending and log a warning. Also added diagnostic logging showing previous DB state (source, protected) when contacts reappear as pending. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>