Browse Source

fix(external_api): fire videoConferenceLeft event on unload (#2243)

j8
hristoterezov 7 years ago
parent
commit
eae9ddabad
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      react/index.web.js

+ 1
- 0
react/index.web.js View File

@@ -32,6 +32,7 @@ window.addEventListener('beforeunload', () => {
32 32
         APP.logCollector.stop();
33 33
         APP.logCollectorStarted = false;
34 34
     }
35
+    APP.API.notifyConferenceLeft(APP.conference.roomName);
35 36
     APP.API.dispose();
36 37
     getJitsiMeetTransport().dispose();
37 38
 });

Loading…
Cancel
Save