From 369da19d41142a20235372f3bfbe180e41008b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Tue, 30 Jan 2018 09:16:12 +0100 Subject: Remove the debug logs from previous commit --- src/xmpp/biboumi_component.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp index dd66aca..481ebb9 100644 --- a/src/xmpp/biboumi_component.cpp +++ b/src/xmpp/biboumi_component.cpp @@ -729,16 +729,12 @@ bool BiboumiComponent::handle_mam_request(const Stanza& stanza) if ((limit == -1 && start.empty() && end.empty()) || limit > 100) limit = 101; - log_debug("limit: ", limit); auto lines = Database::get_muc_logs(from.bare(), iid.get_local(), iid.get_server(), limit, start, end); bool complete = true; if (lines.size() > 100) { - log_debug("incomplete"); complete = false; - log_debug("size of lines before erase: ", lines.size()); lines.erase(lines.begin(), std::prev(lines.end(), 100)); - log_debug("size of lines after erase: ", lines.size()); } for (const Database::MucLogLine& line: lines) { -- cgit v1.2.3