Use the new TimelineController message sending methods for sending locations

This commit is contained in:
Stefan Ceriu
2025-07-22 15:38:00 +03:00
committed by Stefan Ceriu
parent 60b8b04142
commit 324a203086
@@ -1008,11 +1008,11 @@ class RoomFlowCoordinator: FlowCoordinatorProtocol {
switch action { switch action {
case .selectedLocation(let geoURI, let isUserLocation): case .selectedLocation(let geoURI, let isUserLocation):
Task { Task {
_ = await self.roomProxy.timeline.sendLocation(body: geoURI.bodyMessage, _ = await timelineController.sendLocation(body: geoURI.bodyMessage,
geoURI: geoURI, geoURI: geoURI,
description: nil, description: nil,
zoomLevel: 15, zoomLevel: 15,
assetType: isUserLocation ? .sender : .pin) assetType: isUserLocation ? .sender : .pin)
self.navigationStackCoordinator.setSheetCoordinator(nil) self.navigationStackCoordinator.setSheetCoordinator(nil)
} }