mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-10-31 20:14:26 +00:00
Fix forgotten change of settings
This commit is contained in:
parent
c468446f4c
commit
7cfd5b680a
|
@ -24,8 +24,8 @@ const fetchRelatedRelationships = (dispatch, notifications) => {
|
|||
|
||||
export function updateNotifications(notification, intlMessages, intlLocale) {
|
||||
return (dispatch, getState) => {
|
||||
const showAlert = getState().getIn(['notifications', 'settings', 'alerts', notification.type], true);
|
||||
const playSound = getState().getIn(['notifications', 'settings', 'sounds', notification.type], true);
|
||||
const showAlert = getState().getIn(['settings', 'notifications', 'alerts', notification.type], true);
|
||||
const playSound = getState().getIn(['settings', 'notifications', 'sounds', notification.type], true);
|
||||
|
||||
dispatch({
|
||||
type: NOTIFICATIONS_UPDATE,
|
||||
|
|
Loading…
Reference in a new issue