Add delegates to show room upgrades into the timeline model.

The delegates are at the beginning for upgraded rooms and end for predecessors.

Closes: network/neochat#620 and network/neochat#619
This commit is contained in:
James Graham
2024-08-22 17:21:36 +00:00
parent 656558850c
commit b3afa9f595
7 changed files with 213 additions and 2 deletions

View File

@@ -41,6 +41,20 @@ DelegateChooser {
delegate: LoadingDelegate {}
}
DelegateChoice {
roleValue: DelegateType.Predecessor
delegate: PredecessorDelegate {
room: root.room
}
}
DelegateChoice {
roleValue: DelegateType.Successor
delegate: SuccessorDelegate {
room: root.room
}
}
DelegateChoice {
roleValue: DelegateType.TimelineEnd
delegate: TimelineEndDelegate {