mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-14 06:51:08 +01:00
Add ServiceDiscoveryManager.serverSupportsFeature()
This commit is contained in:
parent
b71039660b
commit
98c69f6895
4 changed files with 18 additions and 5 deletions
|
|
@ -78,7 +78,7 @@ public class OfflineMessageManager {
|
|||
* @throws NotConnectedException
|
||||
*/
|
||||
public boolean supportsFlexibleRetrieval() throws NoResponseException, XMPPErrorException, NotConnectedException {
|
||||
return ServiceDiscoveryManager.getInstanceFor(connection).supportsFeature(connection.getServiceName(), namespace);
|
||||
return ServiceDiscoveryManager.getInstanceFor(connection).serverSupportsFeature(namespace);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue