mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-09 20:41:07 +01:00
Fix typo: s/no_acceptable/not_acceptable
in XMPPError.Condition
This commit is contained in:
parent
fc39ac88bd
commit
cde6dd65b3
8 changed files with 13 additions and 13 deletions
|
|
@ -451,7 +451,7 @@ public class InBandBytestreamManager implements BytestreamManager {
|
|||
* @throws NotConnectedException
|
||||
*/
|
||||
protected void replyRejectPacket(IQ request) throws NotConnectedException {
|
||||
XMPPError xmppError = new XMPPError(XMPPError.Condition.no_acceptable);
|
||||
XMPPError xmppError = new XMPPError(XMPPError.Condition.not_acceptable);
|
||||
IQ error = IQ.createErrorResponse(request, xmppError);
|
||||
this.connection.sendPacket(error);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -708,7 +708,7 @@ public final class Socks5BytestreamManager implements BytestreamManager {
|
|||
* @throws NotConnectedException
|
||||
*/
|
||||
protected void replyRejectPacket(IQ packet) throws NotConnectedException {
|
||||
XMPPError xmppError = new XMPPError(XMPPError.Condition.no_acceptable);
|
||||
XMPPError xmppError = new XMPPError(XMPPError.Condition.not_acceptable);
|
||||
IQ errorIQ = IQ.createErrorResponse(packet, xmppError);
|
||||
this.connection.sendPacket(errorIQ);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ public class FileTransferManager {
|
|||
IQ rejection = FileTransferNegotiator.createIQ(
|
||||
initiation.getPacketID(), initiation.getFrom(), initiation
|
||||
.getTo(), IQ.Type.ERROR);
|
||||
rejection.setError(new XMPPError(XMPPError.Condition.no_acceptable));
|
||||
rejection.setError(new XMPPError(XMPPError.Condition.not_acceptable));
|
||||
connection.sendPacket(rejection);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue