From cff91f5a920f31cf6ee1e1eb085a490d109c8125 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 7 Jan 2017 10:37:50 +0100 Subject: [PATCH] Use correct element and namepsace in AccountManager.isSupported() --- .../org/jivesoftware/smackx/iqregister/AccountManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/iqregister/AccountManager.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/iqregister/AccountManager.java index 40d3c4572..b10df9a81 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/iqregister/AccountManager.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/iqregister/AccountManager.java @@ -335,7 +335,8 @@ public final class AccountManager extends Manager { throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException { XMPPConnection connection = connection(); - ExtensionElement extensionElement = connection.getFeature(Registration.ELEMENT, Registration.NAMESPACE); + ExtensionElement extensionElement = connection.getFeature(Registration.Feature.ELEMENT, + Registration.Feature.NAMESPACE); if (extensionElement != null) { return true; }