|
@@ -139,6 +139,17 @@ function registerListeners() {
|
139
|
139
|
messageHandler.openMessageDialog("dialog.sessTerminated", "Session Terminated",
|
140
|
140
|
"dialog.kickMessage", "Ouch! You have been kicked out of the meet!");
|
141
|
141
|
});
|
|
142
|
+ APP.xmpp.addListener(XMPPEvents.MUC_DESTROYED, function (reason) {
|
|
143
|
+ //FIXME: use Session Terminated from translation, but
|
|
144
|
+ // 'reason' text comes from XMPP packet and is not translated
|
|
145
|
+ messageHandler.openDialog(
|
|
146
|
+ "Session Terminated", reason, true, {},
|
|
147
|
+ function (event, value, message, formVals)
|
|
148
|
+ {
|
|
149
|
+ return false;
|
|
150
|
+ }
|
|
151
|
+ );
|
|
152
|
+ });
|
142
|
153
|
APP.xmpp.addListener(XMPPEvents.BRIDGE_DOWN, function () {
|
143
|
154
|
messageHandler.showError("dialog.error","Error",
|
144
|
155
|
"dialog.bridgeUnavailable",
|