Disable the threaded timeline composer when the room is read only.

This commit is contained in:
Stefan Ceriu
2025-06-03 17:52:55 +03:00
committed by Stefan Ceriu
parent 9804be70eb
commit c3a9e5deaa
4 changed files with 39 additions and 13 deletions
@@ -55,7 +55,7 @@ final class ThreadTimelineScreenCoordinator: CoordinatorProtocol {
init(parameters: ThreadTimelineScreenCoordinatorParameters) {
self.parameters = parameters
viewModel = ThreadTimelineScreenViewModel()
viewModel = ThreadTimelineScreenViewModel(roomProxy: parameters.roomProxy)
timelineViewModel = TimelineViewModel(roomProxy: parameters.roomProxy,
timelineController: parameters.timelineController,