Fixes hangup when callstats is disabled.

This commit is contained in:
damencho 2016-09-28 17:27:55 -05:00
parent d793cdc797
commit 07f111abbd
1 changed files with 1 additions and 1 deletions

View File

@ -1102,7 +1102,7 @@ UI.requestFeedback = function () {
if (Feedback.isVisible())
return Promise.reject(UIErrors.FEEDBACK_REQUEST_IN_PROGRESS);
// Feedback has been submitted already.
else if (Feedback.isSubmitted())
else if (Feedback.isEnabled() && Feedback.isSubmitted())
return Promise.resolve();
else
return new Promise(function (resolve, reject) {