diff --git a/index.html b/index.html index 1f26ba97b..b96381216 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@ - + diff --git a/lang/main.json b/lang/main.json index 30bfb90cd..59d7c469c 100644 --- a/lang/main.json +++ b/lang/main.json @@ -124,7 +124,8 @@ "focusFail": "__component__ not available - retry in __ms__ sec", "grantedTo": "Moderator rights granted to __to__!", "grantedToUnknown": "Moderator rights granted to $t(somebody)!", - "muted": "You have started the conversation muted." + "muted": "You have started the conversation muted.", + "mutedTitle": "You're muted!" }, "dialog": { "kickMessage": "Ouch! You have been kicked out of the meet!", diff --git a/libs/app.bundle.js b/libs/app.bundle.js index dc73e7abf..521760b18 100644 --- a/libs/app.bundle.js +++ b/libs/app.bundle.js @@ -1524,7 +1524,7 @@ function notifyForInitialMute() { if(config.startAudioMuted || config.startVideoMuted) { - messageHandler.notify(null, "notify.me", "connected", "notify.muted"); + messageHandler.notify(null, "notify.mutedTitle", "connected", "notify.muted", null, {timeOut: 120000}); } } @@ -6249,7 +6249,7 @@ var messageHandler = (function(my) { }; my.notify = function(displayName, displayNameKey, - cls, messageKey, messageArguments) { + cls, messageKey, messageArguments, options) { var displayNameSpan = '" + APP.translation.translateString(messageKey, messageArguments) + - ''); + '', null, options); }; return my; diff --git a/modules/UI/UI.js b/modules/UI/UI.js index b2393f831..437a90f0d 100644 --- a/modules/UI/UI.js +++ b/modules/UI/UI.js @@ -36,7 +36,7 @@ function notifyForInitialMute() { if(config.startAudioMuted || config.startVideoMuted) { - messageHandler.notify(null, "notify.me", "connected", "notify.muted"); + messageHandler.notify(null, "notify.mutedTitle", "connected", "notify.muted", null, {timeOut: 120000}); } } diff --git a/modules/UI/util/MessageHandler.js b/modules/UI/util/MessageHandler.js index 52f7acad5..f4f1a32d3 100644 --- a/modules/UI/util/MessageHandler.js +++ b/modules/UI/util/MessageHandler.js @@ -175,7 +175,7 @@ var messageHandler = (function(my) { }; my.notify = function(displayName, displayNameKey, - cls, messageKey, messageArguments) { + cls, messageKey, messageArguments, options) { var displayNameSpan = '" + APP.translation.translateString(messageKey, messageArguments) + - ''); + '', null, options); }; return my;