Fixes #2147 - Scroll the timeline to the bottom when sending message as well as media, polls and locations.

This commit is contained in:
Stefan Ceriu
2023-12-04 15:55:28 +02:00
committed by Stefan Ceriu
parent 6905ac5f70
commit 8189b0a471
9 changed files with 92 additions and 31 deletions
@@ -35,6 +35,10 @@ enum RoomProxyError: Error, Equatable {
case failedCheckingPermission
}
enum RoomProxyAction {
case stateUpdate
}
// sourcery: AutoMockable
protocol RoomProxyProtocol {
var id: String { get }
@@ -65,9 +69,7 @@ protocol RoomProxyProtocol {
var activeMembersCount: Int { get }
/// Publishes room state updates
/// The thread on which this publisher sends the output isn't defined.
var stateUpdatesPublisher: AnyPublisher<Void, Never> { get }
var actions: AnyPublisher<RoomProxyAction, Never> { get }
var timeline: TimelineProxyProtocol { get }