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