aboutsummaryrefslogtreecommitdiff
path: root/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'context.cpp')
-rw-r--r--context.cpp6
1 files changed, 6 insertions, 0 deletions
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<uint32_t> msg_ids)
+{
+ dc_markseen_msgs(m_context, msg_ids.constData(), msg_ids.count());
+}
+
DcMessage *
Context::getMessage(uint32_t msgId)
{