Skip to content

Commit

Permalink
Merge pull request #9123 from nextcloud/backport/9117/stable3.4
Browse files Browse the repository at this point in the history
[stable3.4] Fix encoding issue with browser notification
  • Loading branch information
GretaD authored Dec 1, 2023
2 parents acb546f + 712c9db commit 62146db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/service/NotificationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ const getNotificationBody = (messages) => {
return t('mail', '{from}\n{subject}', {
from: from.join(),
subject: messages[0].subject,
}, undefined, {
escape: false,
sanitize: false,
})
} else {
return n('mail', '%n new message \nfrom {from}', '%n new messages \nfrom {from}', messages.length, {
Expand Down

0 comments on commit 62146db

Please sign in to comment.