Add and prioritize the new "_matrix/integrations/v1" widget urls

As per MSC1961, add to the whitelisted integrations_widget_urls
the new paths. This allows us to switch Scalar over to use the
new path as default.

Note, the legacy "scalar-staging.riot.im" is these days just a redirect
to scalar-staging.vector.im, so there is no addition for that. It still
needs Riot side whitelisting though for existing widgets.

Refs: https://github.com/matrix-org/matrix-doc/pull/1961
Signed-off-by: Jason Robinson <jasonr@matrix.org>
This commit is contained in:
Jason Robinson 2019-08-26 11:48:47 +03:00
parent 6885bb86d0
commit 216ff28393
2 changed files with 5 additions and 2 deletions

View file

@ -3,6 +3,7 @@ Changes in 0.9.3 (2019-08-)
Improvements:
* Prompt to accept integration manager policies on use (#2600).
* Widgets: Whitelist {MSC1961](https://github.com/matrix-org/matrix-doc/pull/1961) widget urls
Changes in 0.9.2 (2019-08-08)
===============================================

View file

@ -32,9 +32,11 @@
<string>https://jitsi.riot.im</string>
<key>integrationsWidgetsUrls</key>
<array>
<string>https://scalar-staging.riot.im/scalar/api</string>
<string>https://scalar-staging.vector.im/api</string>
<string>https://scalar.vector.im/_matrix/integrations/v1</string>
<string>https://scalar.vector.im/api</string>
<string>https://scalar-staging.vector.im/_matrix/integrations/v1</string>
<string>https://scalar-staging.vector.im/api</string>
<string>https://scalar-staging.riot.im/scalar/api</string>
</array>
<key>piwik</key>
<dict>