element-ios icon indicating copy to clipboard operation
element-ios copied to clipboard

Custom Jitsi server support

Open rajil opened this issue 4 years ago • 1 comments

Steps to reproduce

Element does not honor jitsi custom server support following this. The call was initiated from iOS using the call button.

My nginx config is as follows:

    server {
        listen       443 ssl;
        server_name  mydomain.com;

        location /.well-known/matrix/server {
                 add_header Content-Type application/json; 
                 return 200 '{"m.server": "matrix.mydomain.com:443"}';
         }

        location /.well-known/matrix/client {
            add_header Access-Control-Allow-Origin "*";
            add_header Content-Type "application/json";
 
            return 200 '{"im.vector.riot.jitsi": {"preferredDomain": "meet.mydomain.com"}}';
         }


    ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; 
    ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem;

}

Unfortunately, Element iOS uses "domain": "jitsi.riot.im" instead of "meet.mydomain.com".

Outcome

What did you expect?

Element should use the jitsi server specified.

What happened instead?

It uses jitsi.riot.im. I also checked with the Android client and it uses the correct specified domain.

Your phone model

No response

Operating system version

No response

Application version

No response

Homeserver

No response

Will you send logs?

No

rajil avatar Nov 18 '21 16:11 rajil

As in 2025 this still does not work as intended. I cleaned the cache and reinstalled my iOS Element app. While the Element Desktop correctly works with the custom jitsi address - the iOS app referrs to the https://jitsi.riot.im. This is particularly important for me since the jitsi.riot.im is now restricted in some areas, making the usage of group calls impossible for my family.

lrlunin avatar Nov 20 '25 23:11 lrlunin