Create a content provider instance to get message content models from
This means that all content models will now come from the same source to remove duplication across multiple models and `chatbarcaches`. It also handily breaks the dependency on needing `MessageContentModel` for `NeochatRoom`
This commit is contained in:
@@ -38,7 +38,7 @@ ColumnLayout {
|
||||
|
||||
Repeater {
|
||||
id: threadRepeater
|
||||
model: root.Message.room.modelForThread(root.threadRoot);
|
||||
model: root.Message.contentModel.modelForThread(root.threadRoot);
|
||||
|
||||
delegate: BaseMessageComponentChooser {
|
||||
onSelectedTextChanged: selectedText => {
|
||||
|
||||
Reference in New Issue
Block a user