Node.js based forum software built for the modern web
fix: merged chat notifications if all the messages are from the same user
Barış Soner Uşaklı26bb60effcc4
diff --git a/src/notifications.js b/src/notifications.jsindex ef7e813a95..197ea656cc 100644--- a/src/notifications.js+++ b/src/notifications.js@@ -515,7 +515,9 @@ Notifications.merge = async function (notifications) {differentiators.forEach((differentiator) => {function typeFromLength(items) {- if (items.length === 2) {+ if (items.length <= 1) {+ return '';+ } else if (items.length === 2) {return 'dual';} else if (items.length === 3) {return 'triple';