3f41ca857a
The sidebar shows "This message was deleted" whenever a row's last_deleted flag is set, but the new-message handlers (incoming, my-sent, edit) updated the preview text and never cleared last_deleted. So once a conversation's last message had been deleted (server-computed last_deleted=true at load), a NEWER message left the flag stale and the list kept showing "deleted"/"you deleted this" even though the actual last message was a normal one. Remote deletes already self-corrected via onChatDeleted->loadSidebar; this was the in-session new-message path. Now last_deleted is cleared wherever a fresh non-deleted message becomes the row's last message. Web-only; live on next app launch. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>