mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-07-31 14:11:45 +00:00
Allow notify sound when popups are disabled
This commit is contained in:
@@ -33,6 +33,9 @@ export const newMessage = (data) => {
|
|||||||
store.dispatch(doPageUrl(pageUrl))
|
store.dispatch(doPageUrl(pageUrl))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// If sounds are enabled, but notifications are not
|
||||||
|
} else if (store.getState().user.notifications.q_chat.playSound) {
|
||||||
|
alert.play()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -102,6 +105,9 @@ export const newMessageNotificationQapp = (data) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// If sounds are enabled, but notifications are not
|
||||||
|
} else if (store.getState().user.notifications.q_chat.playSound) {
|
||||||
|
alert.play()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -253,6 +259,9 @@ export const newMessageNotificationQappLocal = (data) => {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// If sounds are enabled, but notifications are not
|
||||||
|
} else if (store.getState().user.notifications.q_chat.playSound) {
|
||||||
|
alert.play()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user