|
@@ -36,6 +36,9 @@ function JitsiConnection(appID, token, options) {
|
36
|
36
|
|
37
|
37
|
this.addEventListener(JitsiConnectionEvents.CONNECTION_DISCONNECTED,
|
38
|
38
|
function (msg) {
|
|
39
|
+ // we can see disconnects from normal tab closing of the browser
|
|
40
|
+ // and then there are no msgs, but we want to log only disconnects
|
|
41
|
+ // when there is real error
|
39
|
42
|
if(msg)
|
40
|
43
|
AnalyticsAdapter.sendEvent('connection.disconnected.' + msg);
|
41
|
44
|
});
|