summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/streaming
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2017-11-17 03:28:37 +0900
committerGitHub <noreply@github.com>2017-11-17 03:28:37 +0900
commit842b5e878fc3162f73a58a95efcdb2cf22b1178d (patch)
treee86e8250171b7529e600fb7a0f9e50acddc985ea /src/web/app/common/scripts/streaming
parentAdd note (diff)
downloadsharkey-842b5e878fc3162f73a58a95efcdb2cf22b1178d.tar.gz
sharkey-842b5e878fc3162f73a58a95efcdb2cf22b1178d.tar.bz2
sharkey-842b5e878fc3162f73a58a95efcdb2cf22b1178d.zip
Update home-stream.ts
Diffstat (limited to 'src/web/app/common/scripts/streaming')
-rw-r--r--src/web/app/common/scripts/streaming/home-stream.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/app/common/scripts/streaming/home-stream.ts b/src/web/app/common/scripts/streaming/home-stream.ts
index a78f4acdbe..11ad754ef0 100644
--- a/src/web/app/common/scripts/streaming/home-stream.ts
+++ b/src/web/app/common/scripts/streaming/home-stream.ts
@@ -16,11 +16,11 @@ export default class Connection extends Stream {
}, 1000 * 60);
// 自分の情報が更新されたとき
- (this as any).on('i_updated', me.update);
+ this.on('i_updated', me.update);
// トークンが再生成されたとき
// このままではAPIが利用できないので強制的にサインアウトさせる
- (this as any).on('my_token_regenerated', () => {
+ this.on('my_token_regenerated', () => {
alert('%i18n:common.my-token-regenerated%');
signout();
});