Reaction Model

Create a reaction model that provides all the required data for `ReactionDelegate` so that none need to be calculated in QML.

This also cleans up the API for `ReactionDelegate`
This commit is contained in:
James Graham
2023-05-16 16:44:02 +00:00
parent 4d2e64cb80
commit a5a2c0b03e
8 changed files with 302 additions and 65 deletions

View File

@@ -54,6 +54,7 @@ add_library(neochat STATIC
events/imagepackevent.cpp
events/joinrulesevent.cpp
events/stickerevent.cpp
models/reactionmodel.cpp
)
ecm_qt_declare_logging_category(neochat