1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Use IQ.isResponseIQ() in AbstractXMPPConnection

This commit is contained in:
Florian Schmaus 2019-04-08 23:04:46 +02:00
parent 87e0ac9ba1
commit d1f2631771

View file

@ -1353,7 +1353,7 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
return;
}
assert (response.getType() == IQ.Type.result || response.getType() == IQ.Type.error);
assert response.isResponseIQ();
response.setTo(iqRequest.getFrom());
response.setStanzaId(iqRequest.getStanzaId());