mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 13:08:08 +00:00
Don't pretty print IMDN and is-composing xml for compatibility with old implementation.
This commit is contained in:
parent
baa4eebbe1
commit
834cf06a91
2 changed files with 2 additions and 2 deletions
|
|
@ -160,7 +160,7 @@ string Imdn::createXml (const string &id, time_t timestamp, Imdn::Type imdnType,
|
|||
map[""].name = "urn:ietf:params:xml:ns:imdn";
|
||||
if (needLinphoneImdnNamespace)
|
||||
map["imdn"].name = "http://www.linphone.org/xsds/imdn.xsd";
|
||||
Xsd::Imdn::serializeImdn(ss, imdn, map);
|
||||
Xsd::Imdn::serializeImdn(ss, imdn, map, "UTF-8", Xsd::XmlSchema::Flags::dont_pretty_print);
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ string IsComposing::createXml (bool isComposing) {
|
|||
stringstream ss;
|
||||
Xsd::XmlSchema::NamespaceInfomap map;
|
||||
map[""].name = "urn:ietf:params:xml:ns:im-iscomposing";
|
||||
Xsd::IsComposing::serializeIsComposing(ss, node, map);
|
||||
Xsd::IsComposing::serializeIsComposing(ss, node, map, "UTF-8", Xsd::XmlSchema::Flags::dont_pretty_print);
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue