Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reports that the example doesn't work anymore #83

Open
robintown opened this issue May 10, 2023 · 0 comments · May be fixed by #101
Open

Reports that the example doesn't work anymore #83

robintown opened this issue May 10, 2023 · 0 comments · May be fixed by #101
Labels
bug Something isn't working

Comments

@robintown
Copy link
Member

https://matrix.to/#/!rDkLtgRQarvieuFHBA:t2l.io/$M5vvMdiNrsNxh4eB8_S8Z-S17TrUns3KE-qXX71dYBk?via=matrix.org&via=element.io&via=envs.net

Yes you are right. You could try to pass either the client origin (i.e. the Element URL) of "*" to the WidgetApi constructor.

The problem was introduced in version 1.2.0: Before, the targetOrigin defaulted to "*" here. That was refactored to a default value here. However, the constructor of the WidgetApi overrides it with null, so it won't work anymore.

@robintown robintown added the bug Something isn't working label May 10, 2023
@davidegirardi davidegirardi linked a pull request Oct 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant