Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

compose: Fix video call button when Big Blue Button isn’t enabled.

Anders Kaseorg8b2d6806ea29
diff --git a/static/js/compose.js b/static/js/compose.js
index 6352cb3c2c4..dc262c2202e 100644
--- a/static/js/compose.js
+++ b/static/js/compose.js
@@ -1123,7 +1123,9 @@ exports.initialize = function () {
);
}
} else if (
- page_params.realm_video_chat_provider === available_providers.big_blue_button.id) {
+ available_providers.big_blue_button
+ && page_params.realm_video_chat_provider === available_providers.big_blue_button.id
+ ) {
channel.get({
url: '/json/calls/bigbluebutton/create',