Correctly hide avatar and name change events when configured

This commit is contained in:
Tobias Fella
2022-11-10 14:53:39 +01:00
parent 962a1b228c
commit 95345973cb
4 changed files with 39 additions and 2 deletions

View File

@@ -68,6 +68,8 @@ public:
DisplayNameForInitialsRole,
// The displayname for the event's sender; for name change events, the old displayname
AuthorDisplayNameRole,
IsNameChangeRole,
IsAvatarChangeRole,
LastRole, // Keep this last
};
Q_ENUM(EventRoles)