Include the <fin><set><first/><last/></></> nodes in the MAM iq result
fix #3322
This commit is contained in:
@@ -640,13 +640,15 @@ void XmppComponent::send_iq_version_request(const std::string& from,
|
||||
this->send_stanza(iq);
|
||||
}
|
||||
|
||||
void XmppComponent::send_iq_result_full_jid(const std::string& id, const std::string& to_jid, const std::string& from_full_jid)
|
||||
void XmppComponent::send_iq_result_full_jid(const std::string& id, const std::string& to_jid, const std::string& from_full_jid, std::unique_ptr<XmlNode> inner)
|
||||
{
|
||||
Stanza iq("iq");
|
||||
iq["from"] = from_full_jid;
|
||||
iq["to"] = to_jid;
|
||||
iq["id"] = id;
|
||||
iq["type"] = "result";
|
||||
if (inner)
|
||||
iq.add_child(std::move(inner));
|
||||
this->send_stanza(iq);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user