mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-01 00:08:24 +09:00
parent
abc296cdcc
commit
81f1df7472
@ -500,8 +500,7 @@ export default Vue.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
async onNotification(notification) {
|
async onNotification(notification) {
|
||||||
// TODO: ユーザーが画面を見てないと思われるとき(ブラウザやタブがアクティブじゃないなど)は送信しない
|
if (document.visibilityState === 'visible') {
|
||||||
if (true) {
|
|
||||||
this.$root.stream.send('readNotification', {
|
this.$root.stream.send('readNotification', {
|
||||||
id: notification.id
|
id: notification.id
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user