summaryrefslogtreecommitdiff
path: root/src/client/app.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app.vue')
-rw-r--r--src/client/app.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/app.vue b/src/client/app.vue
index f81e7e44ad..c10ba9c9d9 100644
--- a/src/client/app.vue
+++ b/src/client/app.vue
@@ -328,6 +328,10 @@ export default Vue.extend({
},
async onNotification(notification) {
+ const t = this.$store.state.i.includingNotificationTypes;
+ if (!!t && !t.includes(notification.type)) {
+ return;
+ }
if (document.visibilityState === 'visible') {
this.$root.stream.send('readNotification', {
id: notification.id