summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-01-30 09:16:12 +0100
committerlouiz’ <louiz@louiz.org>2018-01-30 09:16:12 +0100
commit369da19d41142a20235372f3bfbe180e41008b95 (patch)
tree86845960b3b0afd7dfb938a4af0b7011dfdfe510
parent58fd68916636df2372f8187b375245ef5922833a (diff)
downloadbiboumi-369da19d41142a20235372f3bfbe180e41008b95.tar.gz
biboumi-369da19d41142a20235372f3bfbe180e41008b95.tar.bz2
biboumi-369da19d41142a20235372f3bfbe180e41008b95.tar.xz
biboumi-369da19d41142a20235372f3bfbe180e41008b95.zip
Remove the debug logs from previous commit
-rw-r--r--src/xmpp/biboumi_component.cpp4
1 files changed, 0 insertions, 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)
{