chore: fix PM topic filter dropping events on single-WS setup (WARP3) (#30617)
This commit is contained in:
parent
419a7d8f54
commit
69e31deda0
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue