|
@@ -135,6 +135,14 @@ function registerListeners() {
|
135
|
135
|
APP.connectionquality.addListener(CQEvents.STOP,
|
136
|
136
|
VideoLayout.onStatsStop);
|
137
|
137
|
APP.xmpp.addListener(XMPPEvents.DISPOSE_CONFERENCE, onDisposeConference);
|
|
138
|
+ APP.xmpp.addListener(XMPPEvents.GRACEFUL_SHUTDOWN, function () {
|
|
139
|
+ messageHandler.openMessageDialog(
|
|
140
|
+ 'dialog.serviceUnavailable', 'Service unavailable',
|
|
141
|
+ 'dialog.gracefulShutdown',
|
|
142
|
+ 'Our service is currently down for maintenance.' +
|
|
143
|
+ ' Please try again later.'
|
|
144
|
+ );
|
|
145
|
+ });
|
138
|
146
|
APP.xmpp.addListener(XMPPEvents.KICKED, function () {
|
139
|
147
|
messageHandler.openMessageDialog("dialog.sessTerminated", "Session Terminated",
|
140
|
148
|
"dialog.kickMessage", "Ouch! You have been kicked out of the meet!");
|