Browse Source

feat(API): Add show feedback parameter to hangup

master
Hristo Terezov 6 years ago
parent
commit
5fb9422513
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      modules/API/API.js

+ 2
- 2
modules/API/API.js View File

@@ -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…
Cancel
Save