From 324a203086848d969681a3a902a9b5e9c5db1fe1 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Tue, 22 Jul 2025 15:38:00 +0300 Subject: [PATCH] Use the new TimelineController message sending methods for sending locations --- .../Sources/FlowCoordinators/RoomFlowCoordinator.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ElementX/Sources/FlowCoordinators/RoomFlowCoordinator.swift b/ElementX/Sources/FlowCoordinators/RoomFlowCoordinator.swift index f60bc17c3..c7c4393fb 100644 --- a/ElementX/Sources/FlowCoordinators/RoomFlowCoordinator.swift +++ b/ElementX/Sources/FlowCoordinators/RoomFlowCoordinator.swift @@ -1008,11 +1008,11 @@ class RoomFlowCoordinator: FlowCoordinatorProtocol { switch action { case .selectedLocation(let geoURI, let isUserLocation): Task { - _ = await self.roomProxy.timeline.sendLocation(body: geoURI.bodyMessage, - geoURI: geoURI, - description: nil, - zoomLevel: 15, - assetType: isUserLocation ? .sender : .pin) + _ = await timelineController.sendLocation(body: geoURI.bodyMessage, + geoURI: geoURI, + description: nil, + zoomLevel: 15, + assetType: isUserLocation ? .sender : .pin) self.navigationStackCoordinator.setSheetCoordinator(nil) }