mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
use the alternative summary provider (#3817)
This commit is contained in:
@@ -140,7 +140,7 @@ class JoinRoomScreenViewModel: JoinRoomScreenViewModelType, JoinRoomScreenViewMo
|
|||||||
roomInfo = invitedRoomProxy.info
|
roomInfo = invitedRoomProxy.info
|
||||||
case .knocked(let knockedRoomProxy):
|
case .knocked(let knockedRoomProxy):
|
||||||
roomInfo = knockedRoomProxy.info
|
roomInfo = knockedRoomProxy.info
|
||||||
if let roomSummaryProvider = clientProxy.roomSummaryProvider {
|
if let roomSummaryProvider = clientProxy.alternateRoomSummaryProvider {
|
||||||
membershipStateChangeCancellable = roomSummaryProvider.roomListPublisher
|
membershipStateChangeCancellable = roomSummaryProvider.roomListPublisher
|
||||||
.compactMap { summaries -> Void? in
|
.compactMap { summaries -> Void? in
|
||||||
guard let roomSummary = summaries.first(where: { $0.id == roomInfo?.id }),
|
guard let roomSummary = summaries.first(where: { $0.id == roomInfo?.id }),
|
||||||
|
|||||||
Reference in New Issue
Block a user