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

v1.18.x
Barış Soner Uşaklı 4 years ago
parent ae402e213e
commit 0ca40af834

@ -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);

Loading…
Cancel
Save