aboutsummaryrefslogtreecommitdiff
path: root/context.h
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-02-22 13:23:04 +0300
committerlink2xt <link2xt@testrun.org>2021-02-22 13:23:09 +0300
commit9929bdd5e37019c4c06df60f6491c3dfae691148 (patch)
treebdb2ed083561e35d6f5fb934ed0865434b824138 /context.h
parentc18a5cec728f3ff68dc42c3d6bcc159ae0778a2a (diff)
downloadkdeltachat-9929bdd5e37019c4c06df60f6491c3dfae691148.tar.gz
kdeltachat-9929bdd5e37019c4c06df60f6491c3dfae691148.zip
Add Context::getFreshMsgCnt()
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 756adc6..8e6b02c 100644
--- a/context.h
+++ b/context.h
@@ -28,6 +28,7 @@ public:
Q_INVOKABLE DcChatlist *getChatlist();
Q_INVOKABLE DcChat *getChat(uint32_t chatId);
Q_INVOKABLE QVariantList getMsgIdList(uint32_t chatId);
+ Q_INVOKABLE int getFreshMsgCnt(uint32_t chatId);
Q_INVOKABLE DcMessage *getMessage(uint32_t msgId);
Q_INVOKABLE DcContact *getContact(uint32_t contactId);
Q_INVOKABLE uint32_t sendTextMessage(uint32_t chatId, QString textToSend);