Problem with Suscribe packet

Why when I send this packet:

Presence presencia = new Presence(Presence.Type.SUBSCRIBE);

presencia.setMode(Presence.Mode.INVISIBLE);

presencia.setTo("andres@127.0.0.1");

connection.sendPacket(presencia);

andres@127.0.0.1 receive two Suscribe packet from the same client A???

THANKS…

Andres

You should only receive one packet but it maybe your listener is firing more than once, have a check in the debug window to see which packets you are receiving. And perhaps if you posted a code snippet of your listener we could see what was going on