From 7f4fc80e499e2197c30f70daba6fb65ae517231c Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Mon, 17 Oct 2022 01:44:42 -0400 Subject: [PATCH] Pass the homeserver's base URL to Element Call This will allow Element Call to perform media repo lookups, for example for avatars. --- src/models/Call.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/Call.ts b/src/models/Call.ts index 879a0476d7b..fd207cf1bee 100644 --- a/src/models/Call.ts +++ b/src/models/Call.ts @@ -636,6 +636,7 @@ export class ElementCall extends Call { userId: client.getUserId()!, deviceId: client.getDeviceId(), roomId: groupCall.getRoomId()!, + baseUrl: client.baseUrl, lang: getCurrentLanguage().replace("_", "-"), }); // Currently, the screen-sharing support is the same is it is for Jitsi