aboutsummaryrefslogtreecommitdiff
path: root/context.cpp
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-06-06 17:29:05 +0300
committerlink2xt <link2xt@testrun.org>2021-06-06 17:29:05 +0300
commitfa0dfcb64de83dbe397690422ea584961c145940 (patch)
treec24c2c4cc9b77b3f41d49643326cf78b123b4e14 /context.cpp
parent0b7723991eb555f08b1910cbbb7834585dff7fa4 (diff)
downloadkdeltachat-fa0dfcb64de83dbe397690422ea584961c145940.tar.gz
kdeltachat-fa0dfcb64de83dbe397690422ea584961c145940.zip
Make it possible to get a list of archived chats
Diffstat (limited to 'context.cpp')
-rw-r--r--context.cpp4
1 files changed, 2 insertions, 2 deletions
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};
}