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

Make integrations_ui_url configureable for electron #9386

Closed
enko opened this issue Apr 5, 2019 · 6 comments
Closed

Make integrations_ui_url configureable for electron #9386

enko opened this issue Apr 5, 2019 · 6 comments

Comments

@enko
Copy link

enko commented Apr 5, 2019

It would be nice if the electron app could make integrations_ui_url configureable. At the moment it is hardcoded to scalar.modular.im and I cant set it to my self hosted instance.

A settings entry where I could specify a custom integration server. Alternativly I coudl think of that synapse advertises a integrations server so I dont have to configure all my clients (See element-hq/element-ios#2356).

@t3chguy
Copy link
Member

t3chguy commented Apr 5, 2019

You can provide an override config file as specified here: https://github.com/vector-im/riot-web#desktop-app-configuration

@t3chguy t3chguy closed this as completed Apr 5, 2019
@enko
Copy link
Author

enko commented Apr 5, 2019

@t3chguy While this works under Linux like a charm, I can't seem to get it running under windows. This is my config.json:

C:\Users\tim_1wij8gh>cat %APPDATA%\Riot\config.json
{
    "integrations_ui_url": "https://dimension.schumacher.im/riot",
    "integrations_rest_url": "https://dimension.schumacher.im/api/v1/scalar",
    "integrations_widgets_urls": ["https://dimension.schumacher.im/widgets"],
    "integrations_jitsi_widget_url": "https://dimension.schumacher.im/widgets/jitsi"
}

The strangest thing is, that the stickers are using the other integrations, but the Button on the top of a channels, still calls the integrations on modular.im.

@targodan
Copy link

It does not work on Arch Linux for me. See #9476

@enko
Copy link
Author

enko commented Apr 15, 2019

@targodan I edited /etc/riot/config.json to make it work. I did not try $XDG_CONFIG_HOME\$NAME\config.json

@t3chguy
Copy link
Member

t3chguy commented Apr 15, 2019

So the issue is, it works for only the configuration options for the electron side of the app due to an oversight on my part

@jryans
Copy link
Collaborator

jryans commented Apr 16, 2019

We'll use #9476 to track the problem here.

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

No branches or pull requests

4 participants