mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat(device-errors): move device error dialogs to notifications
- Create a notification component for displaying a toggle. - Create an action for showing the component if allowed by the local storage setting and for saving the setting to local storage. - Remove all notifications having a timeout by default so the device error notification must be dismissed manually. - Split the camera and mic error dialog into two separate notifications.
This commit is contained in:
@@ -455,7 +455,7 @@ var messageHandler = {
|
||||
* @param optional configurations for the notification (e.g. timeout)
|
||||
*/
|
||||
participantNotification: function(displayName, displayNameKey, cls,
|
||||
messageKey, messageArguments, timeout) {
|
||||
messageKey, messageArguments, timeout = 2500) {
|
||||
// If we're in ringing state we skip all notifications.
|
||||
if (!notificationsEnabled || APP.UI.isOverlayVisible()) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user