aboutsummaryrefslogtreecommitdiff
path: root/context.cpp
diff options
context:
space:
mode:
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};
}