Automatically subscribing to newly created channels
This commit is contained in:
parent
903c29ac51
commit
932c4de17b
1 changed files with 5 additions and 0 deletions
|
@ -335,6 +335,11 @@ export class ConnectionCommandHandler extends AbstractCommandHandler {
|
|||
updates.push({key: key, value: json[key]});
|
||||
}
|
||||
channel.updateVariables(...updates);
|
||||
if(tree.channelsInitialized) {
|
||||
if(this.connection.client.isSubscribeToAllChannels()) {
|
||||
channel.subscribe().then(undefined);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private batch_update_finished_timeout;
|
||||
|
|
Loading…
Add table
Reference in a new issue