Fix bug and refactor

This commit is contained in:
syuilo
2018-10-09 15:08:31 +09:00
parent ba1c823fb1
commit 136b13e7ca
10 changed files with 101 additions and 104 deletions

View File

@ -113,8 +113,7 @@ export default Vue.extend({
onNotification(notification) {
// TODO: ユーザーが画面を見てないと思われるとき(ブラウザやタブがアクティブじゃないなど)は送信しない
this.connection.send({
type: 'readNotification',
(this as any).os.stream.send('readNotification', {
id: notification.id
});