mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-25 06:41:36 -07:00
ストリーミングAPIでチャンネルに接続したときにconnectedメッセージを返すように
This commit is contained in:
parent
dc4feca635
commit
5d757f8cf4
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue