Skip to content

Commit

Permalink
Fix encoding issue with web notification
Browse files Browse the repository at this point in the history
Signed-off-by: greta <gretadoci@gmail.com>
  • Loading branch information
GretaD authored and backportbot-nextcloud[bot] committed Dec 1, 2023
1 parent 76b72a3 commit db9ca0b
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 db9ca0b

Please sign in to comment.