commit: 10990e17159a8b2cb3d6290b654f9c3f2a63c34e
parent: 8625a612cdf99c9e1378073d6526d49cd5266767
Author: HJ <spam@hjkos.com>
Date: Thu, 14 Feb 2019 20:43:48 +0000
Merge branch 'fix-notifs' into 'develop'
unfuck notifications
Closes #356
See merge request pleroma/pleroma-fe!583
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/statuses.js b/src/modules/statuses.js
@@ -296,7 +296,7 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot
notifObj.image = action.attachments[0].url
}
- if (notification.fresh && !state.notifications.desktopNotificationSilence && visibleNotificationTypes.includes(notification.ntype)) {
+ if (!notification.seen && !state.notifications.desktopNotificationSilence && visibleNotificationTypes.includes(notification.type)) {
let notification = new window.Notification(title, notifObj)
// Chrome is known for not closing notifications automatically
// according to MDN, anyway.