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.h | 1 + 1 file changed, 1 insertion(+) (limited to 'context.h') diff --git a/context.h b/context.h index c8d9691..0ca4c04 100644 --- a/context.h +++ b/context.h @@ -34,6 +34,7 @@ public: Q_INVOKABLE QVariantList getMsgIdList(uint32_t chatId); Q_INVOKABLE int getFreshMsgCnt(uint32_t chatId); Q_INVOKABLE void marknoticedChat(uint32_t chatId); + Q_INVOKABLE void markseenMsgs(QVector msg_ids); Q_INVOKABLE DcMessage *getMessage(uint32_t msgId); Q_INVOKABLE DcContact *getContact(uint32_t contactId); Q_INVOKABLE uint32_t sendTextMessage(uint32_t chatId, QString textToSend); -- cgit v1.2.3-70-g09d2