Skip to content

Commit

Permalink
Merge pull request #9180 from nextcloud/bugfix/9134/fix-notifications…
Browse files Browse the repository at this point in the history
…-about-reactions-marking-chat-unread

fix(chats): Don't mark conversation unread when receiving a reaction …
  • Loading branch information
nickvergessen authored Mar 28, 2023
2 parents 19a7c08 + 0714008 commit 355935e
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 355935e

Please sign in to comment.