chore: fix PM topic filter dropping events on single-WS setup (WARP3) (#30617)

This commit is contained in:
Philipp Sandhaus 2026-06-08 09:24:14 +02:00 • committed by GitHub
parent 419a7d8f54
commit 69e31deda0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}