mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
Use correct element and namepsace in AccountManager.isSupported()
This commit is contained in:
parent
7167a55f81
commit
cff91f5a92
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue