Update SDK to 26.04.23 (#5478)

updated sdk, and added error management on the send LLS API
This commit is contained in:
Mauro
2026-04-24 13:07:16 +02:00
committed by GitHub
parent a9fae7b4e7
commit 5d1132c75b
9 changed files with 773 additions and 39 deletions
@@ -11,7 +11,7 @@ import MatrixRustSDK
final class RoomLiveLocationService: RoomLiveLocationServiceProtocol {
// periphery:ignore - required for instance retention in the rust codebase
private let liveLocationShares: LiveLocationShares
private let liveLocationsObserver: LiveLocationsObserver
// periphery:ignore - required for instance retention in the rust codebase
private var observationToken: TaskHandle?
@@ -20,9 +20,9 @@ final class RoomLiveLocationService: RoomLiveLocationServiceProtocol {
liveLocationsSubject.asCurrentValuePublisher()
}
init(liveLocationShares: LiveLocationShares) {
self.liveLocationShares = liveLocationShares
observationToken = liveLocationShares
init(liveLocationsObserver: LiveLocationsObserver) {
self.liveLocationsObserver = liveLocationsObserver
observationToken = liveLocationsObserver
.subscribe(listener: SDKListener { [weak self] updates in
guard let self else { return }