summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-01-29 21:11:20 +0100
committerlouiz’ <louiz@louiz.org>2018-01-29 21:11:20 +0100
commit17f2cb5c93e2c86f68cda97fed43fb617bd75ff1 (patch)
tree6fc9b0822e3bb07c8cf3f2b6c2968d6120a2cd46 /src/xmpp
parent7403c397edb14ba93d014ab10e13a97c817ff0b5 (diff)
downloadbiboumi-17f2cb5c93e2c86f68cda97fed43fb617bd75ff1.tar.gz
biboumi-17f2cb5c93e2c86f68cda97fed43fb617bd75ff1.tar.bz2
biboumi-17f2cb5c93e2c86f68cda97fed43fb617bd75ff1.tar.xz
biboumi-17f2cb5c93e2c86f68cda97fed43fb617bd75ff1.zip
Do not forget the complete='true' attribute in MAM’s result iq
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/biboumi_component.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp
index a0e52e6..ee8a502 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -738,6 +738,7 @@ bool BiboumiComponent::handle_mam_request(const Stanza& stanza)
{
XmlNode& fin = *(fin_ptr.get());
fin["xmlns"] = MAM_NS;
+ fin["complete"] = "true";
XmlSubNode set(fin, "set");
set["xmlns"] = RSM_NS;
if (!lines.empty())