diff --git a/features/location/api/src/main/kotlin/io/element/android/features/location/api/internal/MapTilerTileServerStyleUriBuilder.kt b/features/location/api/src/main/kotlin/io/element/android/features/location/api/internal/MapTilerTileServerStyleUriBuilder.kt index dd9d99fa04..0ff18a3767 100644 --- a/features/location/api/src/main/kotlin/io/element/android/features/location/api/internal/MapTilerTileServerStyleUriBuilder.kt +++ b/features/location/api/src/main/kotlin/io/element/android/features/location/api/internal/MapTilerTileServerStyleUriBuilder.kt @@ -33,10 +33,6 @@ internal class MapTilerTileServerStyleUriBuilder( val mapId = if (darkMode) darkMapId else lightMapId "$baseUrl/$mapId/style.json?key=$apiKey" } else { - // A custom style url comes from the homeserver .well-known and is expected to be complete: - // it already carries the operator's own credentials, if any. Appending our api key to it - // adds a second query string and breaks the request. - // See https://github.com/element-hq/element-x-android/issues/7289 customMapStyleUrl } }