diff --git a/src/jlgraphic/message/BasicMessageClient.ts b/src/jlgraphic/message/BasicMessageClient.ts index 9d3690e..557c61b 100644 --- a/src/jlgraphic/message/BasicMessageClient.ts +++ b/src/jlgraphic/message/BasicMessageClient.ts @@ -127,8 +127,8 @@ export class SubscriptionClient { trySubscribe(): void { if (this.mc.connected) { - this.unsubscriptor = this.mc.subscribe(this.destination, () => { - this.handleMessage; + this.unsubscriptor = this.mc.subscribe(this.destination, (data) => { + this.handleMessage(data); }); } }