File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
ElementX/Sources/Services/Timeline/TimelineController Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ class MockRoomTimelineController: RoomTimelineControllerProtocol {
37
37
init ( timelineKind: TimelineKind = . live, listenForSignals: Bool = false ) {
38
38
self . timelineKind = timelineKind
39
39
40
- callbacks. send ( . isLive( true ) )
41
-
42
40
switch timelineKind {
43
41
case . media:
44
42
paginationState = PaginationState ( backward: . timelineEndReached, forward: . timelineEndReached)
@@ -49,6 +47,9 @@ class MockRoomTimelineController: RoomTimelineControllerProtocol {
49
47
paginationState = PaginationState ( backward: . idle, forward: . timelineEndReached)
50
48
}
51
49
50
+ callbacks. send ( . paginationState( paginationState) )
51
+ callbacks. send ( . isLive( true ) )
52
+
52
53
guard listenForSignals else { return }
53
54
54
55
do {
You can’t perform that action at this time.
0 commit comments