1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +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());