diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-02-26 19:23:53 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-02-26 19:23:53 +0900 |
| commit | d939e552f3b42a3f38981c9e650001f01a73bfad (patch) | |
| tree | df6799e574737afd362912a55dc8c98a3d755def /src/web/app/common/scripts/streaming/home-stream-manager.ts | |
| parent | Fix bug (diff) | |
| download | misskey-d939e552f3b42a3f38981c9e650001f01a73bfad.tar.gz misskey-d939e552f3b42a3f38981c9e650001f01a73bfad.tar.bz2 misskey-d939e552f3b42a3f38981c9e650001f01a73bfad.zip | |
Fix bugs
Diffstat (limited to 'src/web/app/common/scripts/streaming/home-stream-manager.ts')
| -rw-r--r-- | src/web/app/common/scripts/streaming/home-stream-manager.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/web/app/common/scripts/streaming/home-stream-manager.ts b/src/web/app/common/scripts/streaming/home-stream-manager.ts index ad1dc870eb..ab56d5a73a 100644 --- a/src/web/app/common/scripts/streaming/home-stream-manager.ts +++ b/src/web/app/common/scripts/streaming/home-stream-manager.ts @@ -1,18 +1,21 @@ import StreamManager from './stream-manager'; import Connection from './home-stream'; +import MiOS from '../../mios'; export default class HomeStreamManager extends StreamManager<Connection> { private me; + private os: MiOS; - constructor(me) { + constructor(os: MiOS, me) { super(); this.me = me; + this.os = os; } public getConnection() { if (this.connection == null) { - this.connection = new Connection(this.me); + this.connection = new Connection(this.os, this.me); } return this.connection; |