From 9b836d5830bacc73ab90d2e7549ef0b01604a28c Mon Sep 17 00:00:00 2001 From: Moepchi Date: Sun, 4 Oct 2026 09:33:33 +0000 Subject: [PATCH] Fix server-edited log spam and chat panel growing with its lines The 20s servergetvariables poll is answered with notifyserverupdated, which tsclientlib applies as a PropertyChanged per field even when nothing changed - so every poll logged "server settings changed". Only log for notifyserveredited, the one that carries an invoker. In the classic design .ts-chat-panel lacked min-height: 0, so the message list grew with every line instead of scrolling, pushing the chat input off-screen. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU --- connector/src/main.rs | 4 ++++ web/src/App.css | 2 ++ 2 files changed, 6 insertions(+) diff --git a/connector/src/main.rs b/connector/src/main.rs index d59c7ea..941e10b 100644 --- a/connector/src/main.rs +++ b/connector/src/main.rs @@ -584,6 +584,10 @@ fn log_book_event(con: &data::Connection, event: &BookEvent) { | PropertyId::ServerCodecEncryptionMode | PropertyId::ServerTempChannelDefaultDeleteDelay | PropertyId::ServerPrioritySpeakerDimmModificator, + // Only notifyserveredited carries an invoker; the 20s + // servergetvariables poll answers with notifyserverupdated, which + // rewrites every field (changed or not) without one. + invoker: Some(_), .. } => { emit_server_log(ServerLogEntry::ServerEdited); diff --git a/web/src/App.css b/web/src/App.css index a1d68cb..83227e7 100644 --- a/web/src/App.css +++ b/web/src/App.css @@ -2393,6 +2393,8 @@ display: flex; flex-direction: column; min-width: 0; + /* without this the panel grows with its lines instead of scrolling them */ + min-height: 0; } .ts-chat-tabs {