From 068161719ec30dcbe9614474cb5c27c5632aefce Mon Sep 17 00:00:00 2001 From: James Graham Date: Sun, 30 Jun 2024 17:58:46 +0100 Subject: [PATCH] Update author documentation now we've moved to RoomMember --- src/timeline/AuthorComponent.qml | 13 ++----------- src/timeline/ReplyAuthorComponent.qml | 13 ++----------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/src/timeline/AuthorComponent.qml b/src/timeline/AuthorComponent.qml index bd19ef0ab..dcff27924 100644 --- a/src/timeline/AuthorComponent.qml +++ b/src/timeline/AuthorComponent.qml @@ -15,18 +15,9 @@ RowLayout { /** * @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. + * A Quotient::RoomMember object. * - * @sa Quotient::User + * @sa Quotient::RoomMember */ required property var author diff --git a/src/timeline/ReplyAuthorComponent.qml b/src/timeline/ReplyAuthorComponent.qml index 756261b70..440a45eed 100644 --- a/src/timeline/ReplyAuthorComponent.qml +++ b/src/timeline/ReplyAuthorComponent.qml @@ -14,18 +14,9 @@ RowLayout { /** * @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. + * A Quotient::RoomMember object. * - * @sa Quotient::User + * @sa Quotient::RoomMember */ required property var author