aboutsummaryrefslogtreecommitdiff
path: root/context.h
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-08-07 21:36:51 +0000
committerlink2xt <link2xt@testrun.org>2021-08-07 21:36:51 +0000
commit80856b853b49b53322425a90ae801bca760cf740 (patch)
treec6eedce43d428d728fbd122ad43057b35138028f /context.h
parent541cfbdad5596e55b686abd02a93638f0a7f75f6 (diff)
downloadkdeltachat-80856b853b49b53322425a90ae801bca760cf740.tar.gz
kdeltachat-80856b853b49b53322425a90ae801bca760cf740.zip
Use `dc_send_msg` to send messages
`dc_send_text_msg` is too limited as it can only send text without attachments.
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 235bd28..b3eb02f 100644
--- a/context.h
+++ b/context.h
@@ -52,6 +52,7 @@ public:
Q_INVOKABLE QString getMessageInfo(uint32_t msgId);
Q_INVOKABLE QString getMessageHtml(uint32_t msgId);
Q_INVOKABLE DcMessage *newMessage(int viewtype);
+ Q_INVOKABLE uint32_t sendMessage(uint32_t chatId, DcMessage *message);
Q_INVOKABLE void importBackup(QString tarfile);
private: