Skip to content

Node.js based forum software built for the modern web

fix: #8939, fix username change notification getting filtered out

Barış Soner Uşaklı0ca40af834ed
diff --git a/src/user/notifications.js b/src/user/notifications.js
index 74dc2f7e95..518d78a4c0 100644
--- a/src/user/notifications.js
+++ b/src/user/notifications.js
@@ -91,7 +91,7 @@ UserNotifications.getNotifications = async function (nids, uid) {
notification.readClass = !notification.read ? 'unread' : '';
}
- return notification && notification.path;
+ return notification;
});
await deleteUserNids(deletedNids, uid);