1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 15:45:58 +09:00

ストリーミングAPIでチャンネルに接続したときにconnectedメッセージを返すように

This commit is contained in:
syuilo 2018-10-10 03:28:11 +09:00
parent aba84612a7
commit fb1e05c2e9
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -181,6 +181,9 @@ export default class Connection {
const channel = new channelClass(id, this); const channel = new channelClass(id, this);
this.channels.push(channel); this.channels.push(channel);
channel.init(params); channel.init(params);
this.sendMessageToWs('connected', {
id: id
});
} }
/** /**