|
@@ -192,8 +192,8 @@ UI.showLocalConnectionInterrupted = function (isInterrupted) {
|
192
|
192
|
UI.setRaisedHandStatus = (participant, raisedHandStatus) => {
|
193
|
193
|
VideoLayout.setRaisedHandStatus(participant.getId(), raisedHandStatus);
|
194
|
194
|
if (raisedHandStatus) {
|
195
|
|
- messageHandler.notify(participant.getDisplayName(), 'notify.somebody',
|
196
|
|
- 'connected', 'notify.raisedHand');
|
|
195
|
+ messageHandler.participantNotification(participant.getDisplayName(),
|
|
196
|
+ 'notify.somebody', 'connected', 'notify.raisedHand');
|
197
|
197
|
}
|
198
|
198
|
};
|
199
|
199
|
|
|
@@ -488,7 +488,7 @@ UI.addUser = function (user) {
|
488
|
488
|
if (UI.ContactList)
|
489
|
489
|
UI.ContactList.addContact(id);
|
490
|
490
|
|
491
|
|
- messageHandler.notify(
|
|
491
|
+ messageHandler.participantNotification(
|
492
|
492
|
displayName,'notify.somebody', 'connected', 'notify.connected'
|
493
|
493
|
);
|
494
|
494
|
|
|
@@ -516,7 +516,7 @@ UI.removeUser = function (id, displayName) {
|
516
|
516
|
if (UI.ContactList)
|
517
|
517
|
UI.ContactList.removeContact(id);
|
518
|
518
|
|
519
|
|
- messageHandler.notify(
|
|
519
|
+ messageHandler.participantNotification(
|
520
|
520
|
displayName,'notify.somebody', 'disconnected', 'notify.disconnected'
|
521
|
521
|
);
|
522
|
522
|
|
|
@@ -552,8 +552,8 @@ UI.updateLocalRole = isModerator => {
|
552
|
552
|
|
553
|
553
|
if (isModerator) {
|
554
|
554
|
if (!interfaceConfig.DISABLE_FOCUS_INDICATOR)
|
555
|
|
- messageHandler
|
556
|
|
- .notify(null, "notify.me", 'connected', "notify.moderator");
|
|
555
|
+ messageHandler.participantNotification(
|
|
556
|
+ null, "notify.me", 'connected', "notify.moderator");
|
557
|
557
|
|
558
|
558
|
Recording.checkAutoRecord();
|
559
|
559
|
}
|
|
@@ -575,14 +575,14 @@ UI.updateUserRole = user => {
|
575
|
575
|
|
576
|
576
|
var displayName = user.getDisplayName();
|
577
|
577
|
if (displayName) {
|
578
|
|
- messageHandler.notify(
|
|
578
|
+ messageHandler.participantNotification(
|
579
|
579
|
displayName, 'notify.somebody',
|
580
|
580
|
'connected', 'notify.grantedTo', {
|
581
|
581
|
to: UIUtil.escapeHtml(displayName)
|
582
|
582
|
}
|
583
|
583
|
);
|
584
|
584
|
} else {
|
585
|
|
- messageHandler.notify(
|
|
585
|
+ messageHandler.participantNotification(
|
586
|
586
|
'', 'notify.somebody',
|
587
|
587
|
'connected', 'notify.grantedToUnknown');
|
588
|
588
|
}
|
|
@@ -596,7 +596,7 @@ UI.updateUserRole = user => {
|
596
|
596
|
*/
|
597
|
597
|
UI.updateUserStatus = (user, status) => {
|
598
|
598
|
let displayName = user.getDisplayName();
|
599
|
|
- messageHandler.notify(
|
|
599
|
+ messageHandler.participantNotification(
|
600
|
600
|
displayName, '', 'connected', "dialOut.statusMessage",
|
601
|
601
|
{
|
602
|
602
|
status: UIUtil.escapeHtml(status)
|
|
@@ -864,7 +864,7 @@ UI.notifyMaxUsersLimitReached = function () {
|
864
|
864
|
* Notify user that he was automatically muted when joned the conference.
|
865
|
865
|
*/
|
866
|
866
|
UI.notifyInitiallyMuted = function () {
|
867
|
|
- messageHandler.notify(
|
|
867
|
+ messageHandler.participantNotification(
|
868
|
868
|
null,
|
869
|
869
|
"notify.mutedTitle",
|
870
|
870
|
"connected",
|
|
@@ -1069,7 +1069,7 @@ UI.notifyInternalError = function () {
|
1069
|
1069
|
};
|
1070
|
1070
|
|
1071
|
1071
|
UI.notifyFocusDisconnected = function (focus, retrySec) {
|
1072
|
|
- messageHandler.notify(
|
|
1072
|
+ messageHandler.participantNotification(
|
1073
|
1073
|
null, "notify.focus",
|
1074
|
1074
|
'disconnected', "notify.focusFail",
|
1075
|
1075
|
{component: focus, ms: retrySec}
|