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

This commit is contained in:
Barış Soner Uşaklı
2020-11-24 14:05:32 -05:00
parent ae402e213e
commit 0ca40af834

View File

@@ -91,7 +91,7 @@ UserNotifications.getNotifications = async function (nids, uid) {
notification.readClass = !notification.read ? 'unread' : ''; notification.readClass = !notification.read ? 'unread' : '';
} }
return notification && notification.path; return notification;
}); });
await deleteUserNids(deletedNids, uid); await deleteUserNids(deletedNids, uid);