Fix bug and refactor
This commit is contained in:
@ -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
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user