summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-10 03:28:11 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-10 03:28:11 +0900
commitfb1e05c2e9e7e6f98ed097ecb0f49f81ff4a9aa6 (patch)
tree28b947acc9be872b35961c1a6b668e1909c9b1e4 /src/server
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadsharkey-fb1e05c2e9e7e6f98ed097ecb0f49f81ff4a9aa6.tar.gz
sharkey-fb1e05c2e9e7e6f98ed097ecb0f49f81ff4a9aa6.tar.bz2
sharkey-fb1e05c2e9e7e6f98ed097ecb0f49f81ff4a9aa6.zip
ストリーミングAPIでチャンネルに接続したときにconnectedメッセージを返すように
Diffstat (limited to 'src/server')
-rw-r--r--src/server/api/stream/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/api/stream/index.ts b/src/server/api/stream/index.ts
index 1014343bbf..838d847004 100644
--- a/src/server/api/stream/index.ts
+++ b/src/server/api/stream/index.ts
@@ -181,6 +181,9 @@ export default class Connection {
const channel = new channelClass(id, this);
this.channels.push(channel);
channel.init(params);
+ this.sendMessageToWs('connected', {
+ id: id
+ });
}
/**