mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Switch the ClientProxy's roomForIdentifier state publisher await to the staticRoomSummaryProvider, similar to the other methods.
This commit is contained in:
committed by
Stefan Ceriu
parent
0dd18929bd
commit
0d581cdf86
@@ -44,6 +44,9 @@ enum RoomSummaryProviderFilter: Equatable {
|
||||
|
||||
// sourcery: AutoMockable
|
||||
protocol StaticRoomSummaryProviderProtocol {
|
||||
/// Publishes the current state the summary provider is finding itself in
|
||||
var statePublisher: CurrentValuePublisher<RoomSummaryProviderState, Never> { get }
|
||||
|
||||
/// Publishes the currently available room summaries
|
||||
var roomListPublisher: CurrentValuePublisher<[RoomSummary], Never> { get }
|
||||
|
||||
@@ -52,9 +55,6 @@ protocol StaticRoomSummaryProviderProtocol {
|
||||
|
||||
// sourcery: AutoMockable
|
||||
protocol RoomSummaryProviderProtocol: StaticRoomSummaryProviderProtocol {
|
||||
/// Publishes the current state the summary provider is finding itself in
|
||||
var statePublisher: CurrentValuePublisher<RoomSummaryProviderState, Never> { get }
|
||||
|
||||
func updateVisibleRange(_ range: Range<Int>)
|
||||
|
||||
func setFilter(_ filter: RoomSummaryProviderFilter)
|
||||
|
||||
Reference in New Issue
Block a user