fix(notifications) Change moderation notifications to medium (#11262)
This commit is contained in:
parent
1355876f83
commit
00092d5139
|
@ -107,7 +107,7 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {
|
||||||
sticky: true,
|
sticky: true,
|
||||||
titleKey,
|
titleKey,
|
||||||
uid
|
uid
|
||||||
}, NOTIFICATION_TIMEOUT_TYPE.STICKY));
|
}, NOTIFICATION_TIMEOUT_TYPE.MEDIUM));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -223,7 +223,7 @@ StateListenerRegistry.register(
|
||||||
sticky: true,
|
sticky: true,
|
||||||
customActionNameKey: [ 'notify.unmute' ],
|
customActionNameKey: [ 'notify.unmute' ],
|
||||||
customActionHandler: [ () => dispatch(muteLocal(false, MEDIA_TYPE.AUDIO)) ]
|
customActionHandler: [ () => dispatch(muteLocal(false, MEDIA_TYPE.AUDIO)) ]
|
||||||
}, NOTIFICATION_TIMEOUT_TYPE.STICKY));
|
}, NOTIFICATION_TIMEOUT_TYPE.MEDIUM));
|
||||||
dispatch(playSound(ASKED_TO_UNMUTE_SOUND_ID));
|
dispatch(playSound(ASKED_TO_UNMUTE_SOUND_ID));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -479,7 +479,7 @@ export function participantMutedUs(participant, track) {
|
||||||
titleArguments: {
|
titleArguments: {
|
||||||
participantDisplayName: getParticipantDisplayName(getState, participant.getId())
|
participantDisplayName: getParticipantDisplayName(getState, participant.getId())
|
||||||
}
|
}
|
||||||
}, NOTIFICATION_TIMEOUT_TYPE.LONG));
|
}, NOTIFICATION_TIMEOUT_TYPE.MEDIUM));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue