diff --git a/libs/shared/lib/data-access/broker/broker.tsx b/libs/shared/lib/data-access/broker/broker.tsx index 9be76a06b6e0bd0905bac3d2f6ebe951b39cce48..4c49799139c1f6b07bcc33ec41bc27c4f8d6fab8 100644 --- a/libs/shared/lib/data-access/broker/broker.tsx +++ b/libs/shared/lib/data-access/broker/broker.tsx @@ -216,7 +216,7 @@ export class Broker { let stop = false; // check in case there is a specific callback listener and, if its response is true, also call the subscriptions this.mostRecentMessages[routingKey] = data; if (uuid in this.callbackListeners) { - stop = this.callbackListeners[uuid](data) === true; + stop = this.callbackListeners[uuid](data) !== true; console.debug( '%c' + routingKey + ` WS response WITH CALLBACK`, 'background: #222; color: #DBAB2F',