mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-29 17:52:06 +01:00
IQ packets should never include properties since doing so violates the XMPP spec.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1925 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
cdd78ecbe6
commit
d6d875b83b
1 changed files with 0 additions and 5 deletions
|
@ -107,11 +107,6 @@ public class IQ extends Packet {
|
||||||
buf.append(queryXML);
|
buf.append(queryXML);
|
||||||
}
|
}
|
||||||
buf.append("</iq>");
|
buf.append("</iq>");
|
||||||
// Add packet properties, if any are defined.
|
|
||||||
String propertiesXML = getPropertiesXML();
|
|
||||||
if (propertiesXML != null) {
|
|
||||||
buf.append(propertiesXML);
|
|
||||||
}
|
|
||||||
// Add the error sub-packet, if there is one.
|
// Add the error sub-packet, if there is one.
|
||||||
XMPPError error = getError();
|
XMPPError error = getError();
|
||||||
if (error != null) {
|
if (error != null) {
|
||||||
|
|
Loading…
Reference in a new issue