Use RoomMember object for code component

This commit is contained in:
Tobias Fella
2024-07-06 16:27:08 +02:00
parent 4a5c012f05
commit abbbd9d705
4 changed files with 5 additions and 18 deletions

View File

@@ -16,21 +16,8 @@ Components.AbstractMaximizeComponent {
/**
* @brief The message author.
*
* This should consist of the following:
* - id - The matrix ID of the author.
* - isLocalUser - Whether the author is the local user.
* - avatarSource - The mxc URL for the author's avatar in the current room.
* - avatarMediaId - The media ID of the author's avatar.
* - avatarUrl - The mxc URL for the author's avatar.
* - displayName - The display name of the author.
* - display - The name of the author.
* - color - The color for the author.
* - object - The Quotient::User object for the author.
*
* @sa Quotient::User
*/
property var author
property RoomMember author
/**
* @brief The timestamp of the message.