1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 15:21:46 +09:00
This commit is contained in:
tamaina 2020-05-24 13:53:31 +09:00 committed by GitHub
parent abc296cdcc
commit 81f1df7472
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -500,8 +500,7 @@ export default Vue.extend({
},
async onNotification(notification) {
// TODO: ()
if (true) {
if (document.visibilityState === 'visible') {
this.$root.stream.send('readNotification', {
id: notification.id
});