mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-05-18 07:15:49 +02:00
5518c622bc
Replace localStorage-based message read tracking with server-side storage to enable unread badge synchronization across all devices and browsers. Changes: - Add read_status.py module for server-side read status management - Add GET /api/read_status endpoint to fetch read status - Add POST /api/read_status/mark_read endpoint to update read status - Update app.js to load/save read status from server instead of localStorage - Update dm.js to load/save DM read status from server instead of localStorage - Read status stored in MC_CONFIG_DIR/.read_status.json for persistence Benefits: - Unread badges sync across all devices (phone, computer, tablet) - Read status persists across browser sessions - No more duplicate unread notifications when switching devices 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>