mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 18:59:41 +02:00
Add XMPPErrorException.getStanzaError()
Also deprecate getXMPPError and let StanzaError implement ExtensionElement.
This commit is contained in:
parent
651ee7b85e
commit
23bb5c5625
31 changed files with 108 additions and 75 deletions
|
@ -90,7 +90,7 @@ public final class IoTControlManager extends IoTManager {
|
|||
try {
|
||||
controlRequest.processRequest(iotSetRequest.getFrom(), iotSetRequest.getSetData());
|
||||
} catch (XMPPErrorException e) {
|
||||
return IQ.createErrorResponse(iotSetRequest, e.getXMPPError());
|
||||
return IQ.createErrorResponse(iotSetRequest, e.getStanzaError());
|
||||
}
|
||||
|
||||
return new IoTSetResponse(iotSetRequest);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue