From 7048bd8bffdfda0e76853be0a3efda94bec6727d Mon Sep 17 00:00:00 2001 From: gramps Date: Fri, 30 Oct 2026 14:41:47 -0700 Subject: [PATCH] fix(scoreboard): the chat feed actually reaches the tallies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unit 6 created the recorder and the session hook but nothing fed it — the strip would have stayed empty through a whole stream. The poll's message handler now records each decoded event after the chat and alert layers have seen it. Caught by tracing the data path while wiring analytics, not by a test: the guards cover the tally rules, not the seam into the poller. --- ViewModels/MainViewModel.Chat.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ViewModels/MainViewModel.Chat.cs b/ViewModels/MainViewModel.Chat.cs index db806a9..42b2d4e 100644 --- a/ViewModels/MainViewModel.Chat.cs +++ b/ViewModels/MainViewModel.Chat.cs @@ -50,6 +50,9 @@ public partial class MainViewModel : ViewModelBase { _chatLayer.OnMessageReceived(message, Scenes); _alertLayer.OnMessageReceived(message, Scenes); + // Feed the session tallies LAST: the scoreboard counts what the poll decoded, and it only + // counts while a session is running (ScoreboardRecorder ignores everything else). + _scoreboard.Record(message); } private void UpdateChatBoxPreview(Source chatBox, IReadOnlyList? messages = null)