Pārlūkot izejas kodu

Adds a comment.

dev1
damencho 9 gadus atpakaļ
vecāks
revīzija
c9d0c17264
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3
    0
      JitsiConnection.js

+ 3
- 0
JitsiConnection.js Parādīt failu

36
 
36
 
37
     this.addEventListener(JitsiConnectionEvents.CONNECTION_DISCONNECTED,
37
     this.addEventListener(JitsiConnectionEvents.CONNECTION_DISCONNECTED,
38
         function (msg) {
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
             if(msg)
42
             if(msg)
40
                 AnalyticsAdapter.sendEvent('connection.disconnected.' + msg);
43
                 AnalyticsAdapter.sendEvent('connection.disconnected.' + msg);
41
         });
44
         });

Notiek ielāde…
Atcelt
Saglabāt