1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-12 14:01:08 +01:00

Rename XMPPError to StanzaError

Fixes SMACK-769.
This commit is contained in:
Florian Schmaus 2018-04-07 21:25:40 +02:00
parent 609f4243d9
commit 2efec89050
53 changed files with 205 additions and 208 deletions

View file

@ -18,7 +18,7 @@ package org.jivesoftware.smackx.blocking.element;
import org.jivesoftware.smack.packet.ExtensionElement;
import org.jivesoftware.smack.packet.Message;
import org.jivesoftware.smack.packet.XMPPError;
import org.jivesoftware.smack.packet.StanzaError;
import org.jivesoftware.smack.util.XmlStringBuilder;
import org.jivesoftware.smackx.blocking.BlockingCommandManager;
@ -53,7 +53,7 @@ public class BlockedErrorExtension implements ExtensionElement {
}
public static BlockedErrorExtension from(Message message) {
XMPPError error = message.getError();
StanzaError error = message.getError();
if (error == null) {
return null;
}