Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Improves the notification that informs the user if started the conference audio/video muted.

hristoterezovefcfe9970735
diff --git a/index.html b/index.html
index 1f26ba97b5..b96381216d 100644
--- a/index.html
+++ b/index.html
@@ -19,7 +19,7 @@
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
<script src="interface_config.js?v=5"></script>
- <script src="libs/app.bundle.js?v=58"></script>
+ <script src="libs/app.bundle.js?v=59"></script>
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
<link rel="stylesheet" href="css/font.css?v=7"/>
<link rel="stylesheet" href="css/toastr.css?v=1">
diff --git a/lang/main.json b/lang/main.json
index 30bfb90cd6..59d7c469c1 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 dc73e7abf2..521760b186 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 = '<span class="nickname" ';
if(displayName)
{
@@ -6269,7 +6269,7 @@ var messageHandler = (function(my) {
: "") + ">" +
APP.translation.translateString(messageKey,
messageArguments) +
- '</span>');
+ '</span>', null, options);
};
return my;
diff --git a/modules/UI/UI.js b/modules/UI/UI.js
index b2393f8312..437a90f0d2 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 52f7acad5f..f4f1a32d3a 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 = '<span class="nickname" ';
if(displayName)
{
@@ -195,7 +195,7 @@ var messageHandler = (function(my) {
: "") + ">" +
APP.translation.translateString(messageKey,
messageArguments) +
- '</span>');
+ '</span>', null, options);
};
return my;