From 457bd3160a9b62e405513f3969ede337a6bcd810 Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:27:07 +0100 Subject: [PATCH] Add a missing scheme when getting the Element .well-known file. (#2995) --- ElementX/Sources/Services/Client/ClientProxy.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElementX/Sources/Services/Client/ClientProxy.swift b/ElementX/Sources/Services/Client/ClientProxy.swift index 8ae882bde..51457809c 100644 --- a/ElementX/Sources/Services/Client/ClientProxy.swift +++ b/ElementX/Sources/Services/Client/ClientProxy.swift @@ -616,7 +616,7 @@ class ClientProxy: ClientProxyProtocol { func getElementWellKnown() async -> Result { guard let userIDServerName, - var url = URL(string: userIDServerName) else { + var url = URL(string: "https://\(userIDServerName)") else { return .failure(.invalidUserIDServerName) }