mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-21 22:02:06 +01:00
Remove deprecated method in PUshNotificationsManager
This commit is contained in:
parent
93680e34e2
commit
609f4243d9
1 changed files with 0 additions and 18 deletions
|
@ -79,24 +79,6 @@ public final class PushNotificationsManager extends Manager {
|
|||
super(connection);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if Push Notifications is supported by the server.
|
||||
*
|
||||
* @return true if Push Notifications is supported by the server.
|
||||
* @throws NoResponseException
|
||||
* @throws XMPPErrorException
|
||||
* @throws NotConnectedException
|
||||
* @throws InterruptedException
|
||||
* @deprecated Use {@link #isSupported()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
// TODO: Remove in Smack 4.3
|
||||
public boolean isSupportedByServer()
|
||||
throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
|
||||
return ServiceDiscoveryManager.getInstanceFor(connection())
|
||||
.serverSupportsFeature(PushNotificationsElements.NAMESPACE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if Push Notifications are supported by this account.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue