From 88398e8bdaa57c7ea6e81a7ce64f6ff04f889ac7 Mon Sep 17 00:00:00 2001 From: Alexander Krylov Date: Wed, 28 Oct 2026 18:36:21 +0300 Subject: [PATCH] Log a chat message once `chat_line` logged `[chat]` and then `Chat::add_message` logged `[CHAT]` for the same message, so every line appeared twice, and the `[chat]` copy slipped past the `[CHAT]` filter `log_for_report` uses to keep chat out of an attached log. Vanilla's `ChatComponent.logChatMessage` writes the one line `add_message` already writes, so the `chat_line` call is the leftover. Fixes #3261 Co-Authored-By: Hermes Agent (Nous Research) --- crates/horizon-client/src/game/remote.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/horizon-client/src/game/remote.rs b/crates/horizon-client/src/game/remote.rs index 22b7c13df..80bb2d7af 100644 --- a/crates/horizon-client/src/game/remote.rs +++ b/crates/horizon-client/src/game/remote.rs @@ -700,7 +700,6 @@ impl Game<'_> { return; } let text = content.plain(); - log::info!("[chat] {text}"); // addServerSystemMessage and addClientSystemMessage both carry // GuiMessageTag.systemSinglePlayer: the grey bar at the line's left. let indicator = (source != horizon_client::chat::ChatSource::Player)