Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Jitsi: Use integrations URL from config #2062

Merged
merged 2 commits into from
Jul 20, 2018
Merged

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jul 16, 2018

@dbkr dbkr requested a review from a team July 16, 2018 15:36
'https://scalar.vector.im/api/widgets' +
'/jitsi.html?' +
SdkConfig.get().integrations_rest_url +
'/widgets/jitsi.html?' +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fwiw this breaks in Dimension given it expects an entirely different format. Is it possible to just have the entire URL configurable?

At least until https://github.com/matrix-org/matrix-doc/issues/1286 is a thing. It would also be nice if both Scalar and Dimension can agree on the parameters being used, as per the m.jitsi widget declaration in https://docs.google.com/document/d/1uPF7XWY_dXTKVKV7jZQ2KmsI19wn9-kFRgQ1tFQP7wQ/edit#

@dbkr
Copy link
Member Author

dbkr commented Jul 18, 2018

Yeah, this probably isn't ideal but at least it'll make it configurable for now.

@ara4n
Copy link
Member

ara4n commented Jul 20, 2018

surely you need to add integrations_jitsi_widget_url to the default config too in riot-web?

@ara4n
Copy link
Member

ara4n commented Jul 20, 2018

otherwise lgtm

@dbkr
Copy link
Member Author

dbkr commented Jul 20, 2018

Yep, element-hq/element-web#7055 adds to the sample config

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants