mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +02:00
Add getLastStanzaReceived() to XMPPConnection
also remove faulty PongFilter from PingManager. It never matched any stanzas, since a Pong is just a plain result IQ that is not qualified by any XMPP Ping namespace. Fixes SMACK-597
This commit is contained in:
parent
f65c0d5528
commit
64e49cb934
5 changed files with 22 additions and 25 deletions
|
@ -79,6 +79,7 @@ public class BOSHPacketReader implements BOSHClientResponseListener {
|
|||
Packet packet = PacketParserUtils.parseStanza(parser, connection);
|
||||
if (packet != null) {
|
||||
connection.processPacket(packet);
|
||||
// TODO call connection.reportStanzaReceived here
|
||||
} else if (parser.getName().equals("challenge")) {
|
||||
// The server is challenging the SASL authentication
|
||||
// made by the client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue