summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts/streaming/home.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/common/scripts/streaming/home.ts')
-rw-r--r--src/client/app/common/scripts/streaming/home.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/scripts/streaming/home.ts b/src/client/app/common/scripts/streaming/home.ts
index c198619400..e085801e15 100644
--- a/src/client/app/common/scripts/streaming/home.ts
+++ b/src/client/app/common/scripts/streaming/home.ts
@@ -10,13 +10,13 @@ import MiOS from '../../mios';
export class HomeStream extends Stream {
constructor(os: MiOS, me) {
super(os, '', {
- i: me.account.token
+ i: me.token
});
// 最終利用日時を更新するため定期的にaliveメッセージを送信
setInterval(() => {
this.send({ type: 'alive' });
- me.account.lastUsedAt = new Date();
+ me.lastUsedAt = new Date();
}, 1000 * 60);
// 自分の情報が更新されたとき