summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-04-13 23:37:46 +0200
committerlouiz’ <louiz@louiz.org>2018-04-13 23:37:46 +0200
commitd375a9edeb7a2aa21497a2cbc1db0d3f703283a6 (patch)
treecc6e7dd43e6742eab6d32962b14914f230bec055 /src/xmpp
parente4f111accb8395dc8caf1dda92b8d903d3d78151 (diff)
downloadbiboumi-d375a9edeb7a2aa21497a2cbc1db0d3f703283a6.tar.gz
biboumi-d375a9edeb7a2aa21497a2cbc1db0d3f703283a6.tar.bz2
biboumi-d375a9edeb7a2aa21497a2cbc1db0d3f703283a6.tar.xz
biboumi-d375a9edeb7a2aa21497a2cbc1db0d3f703283a6.zip
one log_debug -> log_error, also some trivial indent
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/biboumi_component.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp
index 9748258..acaac34 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -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");
{