diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-16 03:06:52 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-16 03:06:52 +0900 |
| commit | 8b91502ab5734d9b632e5329e50061f08a6312bd (patch) | |
| tree | 92eccb654937111dd1c48609e4dfb79c2bf5fccf /src/web/app/desktop/script.ts | |
| parent | Fix glitch (diff) | |
| download | misskey-8b91502ab5734d9b632e5329e50061f08a6312bd.tar.gz misskey-8b91502ab5734d9b632e5329e50061f08a6312bd.tar.bz2 misskey-8b91502ab5734d9b632e5329e50061f08a6312bd.zip | |
#919
Diffstat (limited to 'src/web/app/desktop/script.ts')
| -rw-r--r-- | src/web/app/desktop/script.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/web/app/desktop/script.ts b/src/web/app/desktop/script.ts index a0453865ec..b4a8d829d6 100644 --- a/src/web/app/desktop/script.ts +++ b/src/web/app/desktop/script.ts @@ -12,11 +12,12 @@ import init from '../init'; import route from './router'; import fuckAdBlock from './scripts/fuck-ad-block'; import getPostSummary from '../../../common/get-post-summary'; +import MiOS from '../common/mios'; /** * init */ -init(async (me, stream) => { +init(async (mios: MiOS) => { /** * Fuck AD Block */ @@ -32,12 +33,12 @@ init(async (me, stream) => { } if ((Notification as any).permission == 'granted') { - registerNotifications(stream); + registerNotifications(mios.stream); } } // Start routing - route(me); + route(mios); }); function registerNotifications(stream) { |