Fix the Greenlight URL method of BigBlueButton

We were accidentally setting the createMeeting query parameter when
creating a widget through Dimension's UI, which tells the widget to use
the non-UI method of connecting to a meeting.
This commit is contained in:
Andrew Morgan 2021-06-02 18:59:21 +01:00
parent b97a0f4bc2
commit a385c5eeaf

View file

@ -27,7 +27,6 @@ export class BigBlueButtonConfigComponent extends WidgetComponent {
protected OnNewWidgetPrepared(widget: EditableWidget): void {
widget.dimension.newData["conferenceUrl"] = this.bigBlueButtonWidget.options.conferenceUrl;
widget.dimension.newData["createMeeting"] = this.bigBlueButtonWidget.options.createMeeting;
}
protected OnWidgetBeforeAdd(widget: EditableWidget) {
@ -44,7 +43,6 @@ export class BigBlueButtonConfigComponent extends WidgetComponent {
let widgetQueryString = url.format({
query: {
"conferenceUrl": "$conferenceUrl",
"createMeeting": "$createMeeting",
"displayName": "$matrix_display_name",
"avatarUrl": "$matrix_avatar_url",
"userId": "$matrix_user_id",