bugfix-订阅客户端消息处理

This commit is contained in:
walker 2023-08-02 15:57:03 +08:00
parent 7aff26f0d3
commit 643ec9bfaf

View File

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