summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-02-10 17:36:33 +0100
committerlouiz’ <louiz@louiz.org>2018-02-10 17:47:42 +0100
commit99389eefba1883753c15c6f411fb8543c93f58a1 (patch)
tree5378f59a336f24f0e37eebf570eb965074aebe57 /src/xmpp
parente0d1a0b44add408504e428d6ce4a8a2121ea7a00 (diff)
downloadbiboumi-99389eefba1883753c15c6f411fb8543c93f58a1.tar.gz
biboumi-99389eefba1883753c15c6f411fb8543c93f58a1.tar.bz2
biboumi-99389eefba1883753c15c6f411fb8543c93f58a1.tar.xz
biboumi-99389eefba1883753c15c6f411fb8543c93f58a1.zip
Always return the oldest matching messages from MAM, even if no date is set
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/biboumi_component.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp
index 481ebb9..250007e 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -721,7 +721,7 @@ bool BiboumiComponent::handle_mam_request(const Stanza& stanza)
if (max)
limit = std::atoi(max->get_inner().data());
}
- // Do send more than 100 messages, even if the client asked for more,
+ // Do not send more than 100 messages, even if the client asked for more,
// or if it didn’t specify any limit.
// 101 is just a trick to know if there are more available messages.
// If our query returns 101 message, we know it’s incomplete, but we