Add a missing scheme when getting the Element .well-known file. (#2995)

This commit is contained in:
Doug 2024-07-02 11:27:07 +01:00 committed by GitHub
parent 2dfc7b9333
commit 457bd3160a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -616,7 +616,7 @@ class ClientProxy: ClientProxyProtocol {
func getElementWellKnown() async -> Result<ElementWellKnown?, ClientProxyError> {
guard let userIDServerName,
var url = URL(string: userIDServerName) else {
var url = URL(string: "https://\(userIDServerName)") else {
return .failure(.invalidUserIDServerName)
}