From e3c11fd05496bb2953e4dfe031afb1c180604d30 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sun, 27 Aug 2023 22:54:06 +0200 Subject: jiddb: Remove 'get' from public functions --- xxcc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xxcc.cpp') diff --git a/xxcc.cpp b/xxcc.cpp index ebe8cbb..b55d58a 100644 --- a/xxcc.cpp +++ b/xxcc.cpp @@ -81,7 +81,7 @@ xxcc::xxcc(QWidget *const parent) : { const auto &db = selected->database(); static const auto n_messages = 20; - const auto messages = db.getMessages(conv->to, n_messages); + const auto messages = db.messages(conv->to, n_messages); for (auto it = messages.rbegin(); it != messages.rend(); it++) new Message(it->body, it->dt, it->direction, ui.messages); @@ -250,7 +250,7 @@ void xxcc::retrieveConversations() { const auto &db = c->database(); - for (const auto &conv : db.getConversations()) + for (const auto &conv : db.conversations()) new Conversation(db.jid, conv.to, ui.conversations_list, conv.last_msg, conv.dt); } -- cgit v1.2.3