I am not receiving any incoming ‘Presence’ packets using a packet listener and a subscription mode of ‘manual’. Here’s a snippet of code:
xmppConnection = new XMPPConnection(config);
xmppConnection.addPacketListener(this, new AndFilter(new PacketTypeFilter(Message.class), new PacketTypeFilter(Presence.class)));
I then subscribe to this user (using a different endpoint and name). I would expect to see the ‘subscribe’ Presence packet. Any ideas what I’m doing wrong?