mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-28 09:31:17 +01:00
Merge branch 'develop' into activitypub
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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 || '');
|
||||
|
||||
Reference in New Issue
Block a user