aboutsummaryrefslogtreecommitdiff
path: root/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'message.h')
-rw-r--r--message.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/message.h b/message.h
index f8ab1e9..d9f4253 100644
--- a/message.h
+++ b/message.h
@@ -18,6 +18,7 @@ class DcMessage : public QObject {
Q_PROPERTY(int height READ getHeight CONSTANT)
Q_PROPERTY(bool isInfo READ isInfo CONSTANT)
Q_PROPERTY(QString quotedText READ getQuotedText CONSTANT)
+ Q_PROPERTY(DcMessage *quotedMessage READ getQuotedMessage CONSTANT)
dc_msg_t *m_message{nullptr};
public:
@@ -55,4 +56,5 @@ public:
//isIncreation
//isSetupmessage
Q_INVOKABLE QString getQuotedText();
+ Q_INVOKABLE DcMessage *getQuotedMessage();
};