Explorar el Código

feat(API): Add show feedback parameter to hangup

master
Hristo Terezov hace 6 años
padre
commit
5fb9422513
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      modules/API/API.js

+ 2
- 2
modules/API/API.js Ver fichero

@@ -103,9 +103,9 @@ function initCommands() {
103 103
 
104 104
             APP.store.dispatch(toggleTileView());
105 105
         },
106
-        'video-hangup': () => {
106
+        'video-hangup': (showFeedbackDialog = true) => {
107 107
             sendAnalytics(createApiEvent('video.hangup'));
108
-            APP.conference.hangup(true);
108
+            APP.conference.hangup(showFeedbackDialog);
109 109
         },
110 110
         'email': email => {
111 111
             sendAnalytics(createApiEvent('email.changed'));

Loading…
Cancelar
Guardar