Show old display name for name change events

BUG: 457664
This commit is contained in:
Tobias Fella
2022-10-23 15:55:39 +02:00
parent bbf76e1e64
commit a9c80b90f6
3 changed files with 17 additions and 2 deletions

View File

@@ -48,9 +48,10 @@ public:
EventResolvedTypeRole,
AuthorIdRole,
VerifiedRole,
// Sender's displayname, always without the matrix id
DisplayNameForInitialsRole,
// The displayname for the event's sender; for name change events, the old displayname
AuthorDisplayNameRole,
LastRole, // Keep this last
};
Q_ENUM(EventRoles)