fixed auto subscription for new channels

This commit is contained in:
WolverinDEV 2020-12-04 12:48:19 +01:00
parent 373c9bb80f
commit 132e2f892e

View file

@ -336,9 +336,7 @@ export class ConnectionCommandHandler extends AbstractCommandHandler {
}
channel.updateVariables(...updates);
if(tree.channelsInitialized) {
if(this.connection.client.isSubscribeToAllChannels()) {
channel.subscribe().then(undefined);
}
channel.updateSubscribeMode().then(undefined);
}
}