From 0ca40af834ed867b1e29445219d354afd7c4b941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 24 Nov 2020 14:05:32 -0500 Subject: [PATCH] fix: #8939, fix username change notification getting filtered out --- src/user/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);