-
Notifications
You must be signed in to change notification settings - Fork 395
make Widget/Integration mgr optional (#3224) #3235
Conversation
d61eaa2
to
952a256
Compare
@@ -809,6 +809,7 @@ | |||
<string name="settings_logged_in">Logged in as</string> | |||
<string name="settings_home_server">Home Server</string> | |||
<string name="settings_identity_server">Identity Server</string> | |||
<string name="settings_integration_server">Integration Server</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Integration Manager"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -14,8 +14,7 @@ | |||
<string name="bug_report_url" translatable="false">https://riot.im/bugreports/submit</string> | |||
|
|||
<!-- Widget urls --> | |||
<string name="integrations_ui_url" translatable="false">"https://scalar.vector.im/"</string> | |||
<string name="integrations_rest_url" translatable="false">"https://scalar.vector.im/api"</string> | |||
<string name="integration_server_url" translatable="false">"https://scalar.vector.im"</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer that we keep 2 app settings for the moment. One for the UI. One for the API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, changed to use 3 settings (added integrations_jitsi_widget_url)
|
||
val config = IntegrationManagerConfig( | ||
uiUrl = "$serverURL/", | ||
apiUrl = "$serverURL/api", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That seems a bit dangerous atm. /api
suffix is not guaranteed.
This is something that will change but not before phase:2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
Fixes #3224
Make widget/integration manager optional.
Integration manager is read from preferences with default values to new vector integration server.
Integration (Matrix app / stickers) ui elements are removed when no integration manager is defined