summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts
diff options
context:
space:
mode:
authorこぴなたみぽ <syuilotan@yahoo.co.jp>2018-02-26 18:31:55 +0900
committerこぴなたみぽ <syuilotan@yahoo.co.jp>2018-02-26 18:31:55 +0900
commit37e5a9d06a492832e8e04f6029be58edb45bab5e (patch)
tree45bc4b316a47cca2e22f516b21b21fc49c45276a /src/web/app/common/scripts
parentv3892 (diff)
downloadsharkey-37e5a9d06a492832e8e04f6029be58edb45bab5e.tar.gz
sharkey-37e5a9d06a492832e8e04f6029be58edb45bab5e.tar.bz2
sharkey-37e5a9d06a492832e8e04f6029be58edb45bab5e.zip
Fix bug
Diffstat (limited to 'src/web/app/common/scripts')
-rw-r--r--src/web/app/common/scripts/streaming/home-stream.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/app/common/scripts/streaming/home-stream.ts b/src/web/app/common/scripts/streaming/home-stream.ts
index a92b61caed..b8e417b6d4 100644
--- a/src/web/app/common/scripts/streaming/home-stream.ts
+++ b/src/web/app/common/scripts/streaming/home-stream.ts
@@ -13,6 +13,7 @@ export default class Connection extends Stream {
// 最終利用日時を更新するため定期的にaliveメッセージを送信
setInterval(() => {
this.send({ type: 'alive' });
+ me.last_used_at = new Date();
}, 1000 * 60);
// 自分の情報が更新されたとき