1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-12-14 09:01:08 +01:00

Add ServiceDiscoveryManager.serverSupportsFeature()

This commit is contained in:
Florian Schmaus 2015-01-10 18:47:47 +01:00
parent b71039660b
commit 98c69f6895
4 changed files with 18 additions and 5 deletions

View file

@ -547,7 +547,6 @@ public class PrivacyListManager extends Manager {
* @throws NotConnectedException
*/
public boolean isSupported() throws NoResponseException, XMPPErrorException, NotConnectedException{
return ServiceDiscoveryManager.getInstanceFor(connection()).supportsFeature(
connection().getServiceName(), NAMESPACE);
return ServiceDiscoveryManager.getInstanceFor(connection()).serverSupportsFeature(NAMESPACE);
}
}