MESSENGER-5252 remove strict check for location sharing for bum4bwi

This commit is contained in:
Frank Rotermund
2023-10-27 14:10:24 +02:00
parent e98e1b2195
commit f938c34161

View File

@@ -81,9 +81,7 @@ final class HomeserverConfigurationBuilder: NSObject {
var tileServerMapStyleURL: URL = URL(string: BWIBuildSettings.shared.serverConfigDefaultMapstyleURLString)!
if let mapStyleURLString = wellKnown?.tileServer?.mapStyleURLString,
let mapStyleURL = URL(string: mapStyleURLString) {
if verifyUrl(url: mapStyleURL) {
tileServerMapStyleURL = mapStyleURL
}
tileServerMapStyleURL = mapStyleURL
}
let tileServerConfiguration = HomeserverTileServerConfiguration(mapStyleURL: tileServerMapStyleURL)