Files
element-x-ios/ElementX/Sources/Services
Stefan Ceriu 05922f1bc7 Fix media loading failures when retrying with a closed store
`homeserverReachabilityPublisher` was driven directly by the sync service state so stopping sync on pause still reported .reachable. MediaProvider.loadImageRetryingOnReconnection would then retry against a closed store, fail, and bail out permanently because it treated the reachable state as a non-recoverable error.

Make reachability a function of both the desired service state and the latest sync state, computed in one place: store the sync state in the listener and recompute reachability from it, reporting unreachable whenever the client isn't meant to be running. Recompute on suspend and on resume.
2026-06-24 20:49:49 +03:00
..
2026-05-27 17:11:42 +01:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00
2026-06-18 17:55:31 +02:00