Move ShowAuthorRole to MessageFilterModel

Only there can it be calculated correctly.
Fixes #632
This commit is contained in:
Tobias Fella
2024-02-20 19:13:25 +01:00
parent 1cfaa88989
commit d4eb9ea320
4 changed files with 22 additions and 24 deletions

View File

@@ -34,6 +34,7 @@ public:
StateEventsRole, /**< List of state events in the aggregated state. */
AuthorListRole, /**< List of the first 5 unique authors of the aggregated state event. */
ExcessAuthorsRole, /**< The number of unique authors beyond the first 5. */
ShowAuthorRole, /**< Whether the author (name and avatar) should be shown at this message. */
LastRole, // Keep this last
};