Switch the ClientProxy's roomForIdentifier state publisher await to the staticRoomSummaryProvider, similar to the other methods.

This commit is contained in:
Stefan Ceriu
2025-11-17 12:08:58 +02:00
committed by Stefan Ceriu
parent 0dd18929bd
commit 0d581cdf86
3 changed files with 10 additions and 5 deletions
@@ -591,8 +591,8 @@ class ClientProxy: ClientProxyProtocol {
return room
}
if !roomSummaryProvider.statePublisher.value.isLoaded {
_ = await roomSummaryProvider.statePublisher.values.first { $0.isLoaded }
if !staticRoomSummaryProvider.statePublisher.value.isLoaded {
_ = await staticRoomSummaryProvider.statePublisher.values.first { $0.isLoaded }
}
if shouldAwait {