Improved alert notifications.
This commit is contained in:
@@ -196,10 +196,20 @@ function curateUser(user) {
|
||||
return curatedUser;
|
||||
}
|
||||
|
||||
function curateNotification(notification) {
|
||||
const curatedNotification = notification;
|
||||
|
||||
curatedNotification.scene = curateRelease(notification.scene);
|
||||
curatedNotification.alert = curateAlert(notification.alert.alert || notification.alert);
|
||||
|
||||
return curatedNotification;
|
||||
}
|
||||
|
||||
export {
|
||||
curateActor,
|
||||
curateEntity,
|
||||
curateRelease,
|
||||
curateNotification,
|
||||
curateTag,
|
||||
curateStash,
|
||||
curateUser,
|
||||
|
||||
Reference in New Issue
Block a user