From fa0dfcb64de83dbe397690422ea584961c145940 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 6 Jun 2021 17:29:05 +0300 Subject: Make it possible to get a list of archived chats --- context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'context.cpp') diff --git a/context.cpp b/context.cpp index f3e698a..ea9c5c4 100644 --- a/context.cpp +++ b/context.cpp @@ -56,9 +56,9 @@ Context::getInfo() } DcChatlist * -Context::getChatlist() +Context::getChatlist(int flags) { - dc_chatlist_t *chatlist = dc_get_chatlist(m_context, 0, NULL, 0); + dc_chatlist_t *chatlist = dc_get_chatlist(m_context, flags, NULL, 0); return new DcChatlist{chatlist}; } -- cgit v1.2.3-70-g09d2