aboutsummaryrefslogtreecommitdiff
path: root/context.h
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-05-22 15:23:11 +0300
committerlink2xt <link2xt@testrun.org>2021-05-22 15:23:11 +0300
commit166d17e61da080ee7b83317b1a97ec2046960706 (patch)
treee97b48d2f604927116f8490a991efc972c08a41e /context.h
parentace0d420686be26ea88cca64406a7b6cf5e10260 (diff)
downloadkdeltachat-166d17e61da080ee7b83317b1a97ec2046960706.tar.gz
kdeltachat-166d17e61da080ee7b83317b1a97ec2046960706.zip
Implement libdeltachat API for HTML view
HTML API: - Context::getMessageHtml() - DcMessage::getSubject() - DcMessage::hasHtml() Also implemented: - DcMessage::getFilemime() - DcMessage::getShowPadlock() - DcMessage::getError()
Diffstat (limited to 'context.h')
-rw-r--r--context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/context.h b/context.h
index aaeb76d..df3fbfb 100644
--- a/context.h
+++ b/context.h
@@ -44,6 +44,7 @@ public:
Q_INVOKABLE QString getConfig(QString key);
Q_INVOKABLE bool setChatMuteDuration(uint32_t chatId, int64_t duration);
Q_INVOKABLE QString getMessageInfo(uint32_t msgId);
+ Q_INVOKABLE QString getMessageHtml(uint32_t msgId);
Q_INVOKABLE uint32_t decideOnContactRequest(uint32_t msgId, int decision);
private: