From 04696b27ebcdedde20f1782c0d1f045a7fdfeb12 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sat, 29 Jun 2024 18:16:05 +0200 Subject: [PATCH] Use type for member property --- src/timeline/HiddenDelegate.qml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/timeline/HiddenDelegate.qml b/src/timeline/HiddenDelegate.qml index 7291b948a..7d333727f 100644 --- a/src/timeline/HiddenDelegate.qml +++ b/src/timeline/HiddenDelegate.qml @@ -25,21 +25,8 @@ TimelineDelegate { /** * @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 */ - required property var author + required property RoomMember author width: parent?.width rightPadding: Config.compactLayout && root.ListView.view.width >= Kirigami.Units.gridUnit * 20 ? Kirigami.Units.gridUnit * 2 + Kirigami.Units.largeSpacing : Kirigami.Units.largeSpacing