Plumb the adding of message edit text back in.

This should also improve edits where there is code or quotes.
This commit is contained in:
James Graham
2026-02-27 15:33:48 +00:00
parent c07db82552
commit 1d5ec4d239
6 changed files with 111 additions and 18 deletions

View File

@@ -15,6 +15,7 @@ namespace Quotient
class RoomMember;
}
struct MessageComponent;
class NeoChatRoom;
/**
@@ -91,13 +92,6 @@ class ChatBarCache : public QObject
*/
Q_PROPERTY(bool relationAuthorIsPresent READ relationAuthorIsPresent NOTIFY relationAuthorIsPresentChanged)
/**
* @brief The content of the related message.
*
* Will be QString() if no related message.
*/
Q_PROPERTY(QString relationMessage READ relationMessage NOTIFY relationIdChanged)
/**
* @brief Whether the chat bar is replying in a thread.
*/
@@ -147,6 +141,7 @@ public:
bool relationAuthorIsPresent() const;
QString relationMessage() const;
QList<MessageComponent> relationComponents() const;
bool isThreaded() const;
QString threadId() const;