Skip to content

Commit

Permalink
fix(chats): Don't mark conversation unread when receiving a reaction …
Browse files Browse the repository at this point in the history
…notification

Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Mar 27, 2023
1 parent 53db9e2 commit 0714008
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit 0714008

Please sign in to comment.