From ed3a3672746a89626123c6e2a39dd36bb33c635c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 11 Mar 2026 12:58:14 -0400 Subject: [PATCH] fix: notifs --- src/notifications.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/notifications.js b/src/notifications.js index 5f0c305673..fd0d01ce55 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -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 || ''), ];