aboutsummaryrefslogtreecommitdiff
path: root/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'context.cpp')
-rw-r--r--context.cpp5
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)
{