From 69e31deda0f78a80fa2e6dbb6f0d6ee4c31fc20a Mon Sep 17 00:00:00 2001 From: Philipp Sandhaus Date: Mon, 8 Jun 2026 09:24:14 +0200 Subject: [PATCH] chore: fix PM topic filter dropping events on single-WS setup (WARP3) (#30617) --- charger/warp-ws.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/charger/warp-ws.go b/charger/warp-ws.go index 8ac51b530..ef8d25807 100644 --- a/charger/warp-ws.go +++ b/charger/warp-ws.go @@ -259,7 +259,9 @@ func (w *WarpWS) handleConnection(ctx context.Context, role wsRole, conn *websoc return err } - if role == wsRoleMain && isPmTopic(event.Topic) { + // only drop PM topics on the main WS when a dedicated PM connection exists; + // on single-WS setups (WARP3) PM events arrive here and must be processed + if role == wsRoleMain && w.pm != w.Connection && isPmTopic(event.Topic) { continue }