From 61bdf51e900fe8a4554cd52aad1f2aa319fce7e8 Mon Sep 17 00:00:00 2001
From: tamaina <tamaina@hotmail.co.jp>
Date: Tue, 26 May 2020 14:34:49 +0900
Subject: Observe notification read

---
 src/client/components/notifications.vue | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/client/components/notifications.vue')

diff --git a/src/client/components/notifications.vue b/src/client/components/notifications.vue
index 434a87eb41..9dcb4eb109 100644
--- a/src/client/components/notifications.vue
+++ b/src/client/components/notifications.vue
@@ -75,6 +75,8 @@ export default Vue.extend({
 				this.$root.stream.send('readNotification', {
 					id: notification.id
 				});
+
+				notification.isRead = true;
 			}
 
 			this.prepend(notification);
-- 
cgit v1.2.3-freya

