WidgetManager: Use the jitsi server defined in the homeserver wellknown

It was done in another PR at https://github.com/vector-im/element-ios/pull/3723/files#diff-530bc68fd973c8c954c5c4e673e9a9f0328943b4656440b8f997b4d718c51d6aR312

But the change was lost with other code updates.
This commit is contained in:
manuroe
2021-04-29 16:29:13 +02:00
parent 11d070c458
commit 8a842a0f48
+1 -1
View File
@@ -285,7 +285,7 @@ NSString *const WidgetManagerErrorDomain = @"WidgetManagerErrorDomain";
// Riot-Web still uses V1 type
NSString *widgetId = [NSString stringWithFormat:@"%@_%@_%@", kWidgetTypeJitsiV1, room.mxSession.myUser.userId, @((uint64_t)([[NSDate date] timeIntervalSince1970] * 1000))];
NSURL *preferredJitsiServerUrl = BuildSettings.jitsiServerUrl;
NSURL *preferredJitsiServerUrl = [room.mxSession vc_homeserverConfiguration].jitsi.serverURL;
JitsiService *jitsiService = JitsiService.shared;