This commit is contained in:
tamaina 2020-05-24 13:53:31 +09:00 committed by GitHub
parent f59e1155f2
commit d21401009e

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
});