1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-15 03:59:38 +02:00

DataListener is no longer a StanzaListener

it's just an IqRequestHandler. So remove the previous code related to it
being a stanza listener.
This commit is contained in:
Florian Schmaus 2015-03-02 15:48:43 +01:00
parent 63fabf78ed
commit 50cf7f42f3
3 changed files with 3 additions and 32 deletions

View file

@ -63,7 +63,7 @@ public class DataListenerTest {
data.setFrom(initiatorJID);
data.setTo(targetJID);
dataListener.processPacket(data);
dataListener.handleIQRequest(data);
// wait because packet is processed in an extra thread
Thread.sleep(200);