mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 22:48:16 +00:00
compose: Fix video call button when Big Blue Button isn’t enabled.
Fixes ‘Uncaught TypeError: can't access property "id",
available_providers.big_blue_button is undefined’ introduced by commit
a389c7390d (#14775).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
978f25d4ac
commit
8b2d6806ea
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user