mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 22:26:59 +02:00
Introduce canMerge method on timeline style
This commit is contained in:
@@ -39,7 +39,10 @@ protocol RoomTimelineStyle: Themable {
|
||||
|
||||
/// Indicate to merge or not event in timeline
|
||||
func canAddEvent(_ event: MXEvent, and roomState: MXRoomState, to cellData: MXKRoomBubbleCellData) -> Bool
|
||||
|
||||
|
||||
/// Indicate to merge or not the `cellData` into `receiverCellData`
|
||||
func canMerge(cellData: MXKRoomBubbleCellDataStoring, into receiverCellData: MXKRoomBubbleCellDataStoring) -> Bool
|
||||
|
||||
/// Apply selected or blurred style on cell
|
||||
func applySelectedStyleIfNeeded(toCell cell: MXKRoomBubbleTableViewCell, cellData: RoomBubbleCellData)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user