one log_debug -> log_error, also some trivial indent

This commit is contained in:
louiz’
2018-04-13 23:37:46 +02:00
parent e4f111accb
commit d375a9edeb
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -760,10 +760,10 @@ bool BiboumiComponent::handle_mam_request(const Stanza& stanza)
lines.erase(lines.begin(), std::prev(lines.end(), 100));
}
for (const Database::MucLogLine& line: lines)
{
if (!line.col<Database::Nick>().empty())
this->send_archived_message(line, to.full(), from.full(), query_id);
}
{
if (!line.col<Database::Nick>().empty())
this->send_archived_message(line, to.full(), from.full(), query_id);
}
{
auto fin_ptr = std::make_unique<XmlNode>("fin");
{