From 7ebcb86ee1482178792dd2cb3480bdf52c52b36f Mon Sep 17 00:00:00 2001 From: hayaksi1 <193020925+hayaksi1@users.noreply.github.com> Date: Sun, 9 Aug 2026 14:44:30 +0300 Subject: [PATCH] Drop the comment on the custom map style branch Review feedback: the branch already reads as "use the custom url as it is", so the explanation belongs in the commit rather than the source. --- .../api/internal/MapTilerTileServerStyleUriBuilder.kt | 4 ---- 1 file changed, 4 deletions(-) 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 } }