diff options
author | link2xt <link2xt@testrun.org> | 2021-02-22 13:23:04 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-02-22 13:23:09 +0300 |
commit | 9929bdd5e37019c4c06df60f6491c3dfae691148 (patch) | |
tree | bdb2ed083561e35d6f5fb934ed0865434b824138 /context.cpp | |
parent | c18a5cec728f3ff68dc42c3d6bcc159ae0778a2a (diff) | |
download | kdeltachat-9929bdd5e37019c4c06df60f6491c3dfae691148.tar.gz kdeltachat-9929bdd5e37019c4c06df60f6491c3dfae691148.zip |
Add Context::getFreshMsgCnt()
Diffstat (limited to 'context.cpp')
-rw-r--r-- | context.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/context.cpp b/context.cpp index 8df8120..82b9a6e 100644 --- a/context.cpp +++ b/context.cpp @@ -80,6 +80,11 @@ Context::getMsgIdList(uint32_t chatId) { return result; } +int +Context::getFreshMsgCnt(uint32_t chatId) { + return dc_get_fresh_msg_cnt(m_context, chatId); +} + DcMessage * Context::getMessage(uint32_t msgId) { |