From 0714008276dddbf3e0373e7e4100217646b48396 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 27 Mar 2023 14:53:56 +0200 Subject: [PATCH] fix(chats): Don't mark conversation unread when receiving a reaction notification Signed-off-by: Joas Schilling --- src/App.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/App.vue b/src/App.vue index 6087cb4c2f8..3e6e9aef0bc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -498,6 +498,11 @@ export default { } if (event.notification.objectType === 'chat') { + if (event.notification.subjectRichParameters?.reaction) { + // Ignore reaction notifications in case of one-to-one and always-notify + return + } + this.$store.dispatch('updateConversationLastMessageFromNotification', { notification: event.notification, })