From 1b79a5d06f02035db165b7a2c294df1006a503ed Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 16 Mar 2021 05:25:52 +0300 Subject: Mark displayed messages as seen --- context.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'context.cpp') diff --git a/context.cpp b/context.cpp index 6a7148a..89a7937 100644 --- a/context.cpp +++ b/context.cpp @@ -117,6 +117,12 @@ Context::marknoticedChat(uint32_t chatId) { return dc_marknoticed_chat(m_context, chatId); } +void +Context::markseenMsgs(QVector msg_ids) +{ + dc_markseen_msgs(m_context, msg_ids.constData(), msg_ids.count()); +} + DcMessage * Context::getMessage(uint32_t msgId) { -- cgit v1.2.3-70-g09d2