diff --git a/install/package.json b/install/package.json index 802811c2ac..a16271a3f8 100644 --- a/install/package.json +++ b/install/package.json @@ -35,7 +35,7 @@ "@isaacs/ttlcache": "1.4.1", "@nodebb/spider-detector": "2.0.3", "@popperjs/core": "2.11.8", - "ace-builds": "1.35.5", + "ace-builds": "1.36.0", "archiver": "7.0.1", "async": "3.2.6", "autoprefixer": "10.4.20", diff --git a/src/notifications.js b/src/notifications.js index 5b5db836ac..8d80abf0b1 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -479,7 +479,7 @@ Notifications.merge = async function (notifications) { case 'notifications:user-flagged-post-in': case 'notifications:user-flagged-user': case 'notifications:activitypub.announce': { - const usernames = _.uniq(set.map(notifObj => notifObj && notifObj.user && notifObj.user.username)); + const usernames = _.uniq(set.map(notifObj => notifObj && notifObj.user && notifObj.user.displayname)); const numUsers = usernames.length; const title = utils.decodeHTMLEntities(notifications[modifyIndex].topicTitle || '');