From 6d828b2ba8ad4b0586853cbdf4f1b32b8a2bf753 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 22 Aug 2021 11:54:26 +0000 Subject: Add chatlist search --- context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'context.h') diff --git a/context.h b/context.h index 0ae2eac..4e6409a 100644 --- a/context.h +++ b/context.h @@ -26,7 +26,7 @@ public: Q_INVOKABLE void startIo(); Q_INVOKABLE void stopIo(); Q_INVOKABLE void maybeNetwork(); - Q_INVOKABLE DcChatlist *getChatlist(int flags); + Q_INVOKABLE DcChatlist *getChatlist(int flags, QString query); Q_INVOKABLE uint32_t createChatByContactId(uint32_t contactId); Q_INVOKABLE void setChatVisibility(uint32_t chatId, int visibility); Q_INVOKABLE void deleteChat(uint32_t chatId); -- cgit v1.2.3-70-g09d2