Support replying and editing messages directly from room search

There's two parts to making this work mainly:
1. Use getEvent instead of findInTimeline so the related event is
actually found.
2. Close the dialog once a reply relation is found, so you can easily
reply in the chat bar.
This commit is contained in:
Joshua Goins
2026-01-15 16:54:52 -05:00
parent dc935e09b7
commit d5260376d2
4 changed files with 28 additions and 10 deletions

View File

@@ -227,6 +227,7 @@ MessageDelegateBase {
quickActionComponent: QuickActions {
room: root.room
eventId: root.eventId
author: root.author
}
QtObject {

View File

@@ -22,6 +22,15 @@ RowLayout {
*/
required property string eventId
/**
* @brief The message author.
*
* A Quotient::RoomMember object.
*
* @sa Quotient::RoomMember
*/
required property var author
property real availableWidth: 0.0
property bool reacting: false