mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-12 14:01:08 +01:00
Rename IQ.ELEMENT to IQ.IQ_ELEMENT
to avoid confusion between the IQ element 'iq' and the IQs child element. ELEMENT defined in an IQ sublcass should contain the *child* element. Add element to StreamInitation and fix FileTransferManager which still used a packet listener instead of an IQ request handler to handle incoming stream initiation requests.
This commit is contained in:
parent
f1a1215f35
commit
b0cecee710
6 changed files with 19 additions and 15 deletions
|
|
@ -30,6 +30,9 @@ import org.jivesoftware.smack.util.XmlStringBuilder;
|
|||
* @author Alexander Wenckus
|
||||
*/
|
||||
public class Bytestream extends IQ {
|
||||
|
||||
public static final String ELEMENT = QUERY_ELEMENT;
|
||||
|
||||
/**
|
||||
* The XMPP namespace of the SOCKS5 Bytestream
|
||||
*/
|
||||
|
|
@ -49,7 +52,7 @@ public class Bytestream extends IQ {
|
|||
* The default constructor
|
||||
*/
|
||||
public Bytestream() {
|
||||
super(QUERY_ELEMENT, NAMESPACE);
|
||||
super(ELEMENT, NAMESPACE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue