mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-20 03:11:57 +01:00
fix: notifs
This commit is contained in:
@@ -550,7 +550,7 @@ Notifications.merge = async function (notifications) {
|
||||
const isMultiple = type === 'multiple';
|
||||
const txArgs = [
|
||||
`${mergeId}-${type}`,
|
||||
usernames.slice(0, usernames.length <= 3 ? 3 : 2).join(', '),
|
||||
...usernames.slice(0, usernames.length <= 3 ? 3 : 2),
|
||||
...(isMultiple ? [usernames.length - 2] : []),
|
||||
notifObj.roomIcon,
|
||||
notifObj.roomName,
|
||||
@@ -571,7 +571,7 @@ Notifications.merge = async function (notifications) {
|
||||
const isMultiple = type === 'multiple';
|
||||
const txArgs = [
|
||||
`${mergeId}-${type}`,
|
||||
usernames.slice(0, usernames.length <= 3 ? 3 : 2).join(', '),
|
||||
...usernames.slice(0, usernames.length <= 3 ? 3 : 2),
|
||||
...(isMultiple ? [usernames.length - 2] : []),
|
||||
utils.decodeHTMLEntities(notifObj.topicTitle || ''),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user