aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--websocket_client.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/websocket_client.ts b/websocket_client.ts
index 62d11fc..3d68cd5 100644
--- a/websocket_client.ts
+++ b/websocket_client.ts
@@ -147,7 +147,7 @@ export class WuiWebSocketClient {
}
}
- if (this.opts.onBroadcast) {
+ if (this.opts.onBroadcast && res.id == 0) {
this.opts.onBroadcast(res)
}
}