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:
James Graham
2025-04-04 08:42:34 +00:00
parent 123d11945e
commit 88eb2223c5
20 changed files with 222 additions and 140 deletions

View File

@@ -198,6 +198,8 @@ add_library(neochat STATIC
models/commonroomsmodel.h
models/pollanswermodel.cpp
models/pollanswermodel.h
contentprovider.cpp
contentprovider.h
)
set_source_files_properties(qml/TextToSpeechWrapper.qml PROPERTIES