mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-25 20:18:00 +01:00
[chatmarkers] Deprecate ChatMarkers.isSupportedByServer()
Fixes SMACK-934.
This commit is contained in:
parent
a270542397
commit
5560fb4752
1 changed files with 3 additions and 0 deletions
|
@ -174,7 +174,10 @@ public final class ChatMarkersManager extends Manager {
|
||||||
* @throws XMPPErrorException in case an error response was received.
|
* @throws XMPPErrorException in case an error response was received.
|
||||||
* @throws NoResponseException if no response was received.
|
* @throws NoResponseException if no response was received.
|
||||||
* @throws InterruptedException if the connection is interrupted.
|
* @throws InterruptedException if the connection is interrupted.
|
||||||
|
* @deprecated This method serves no purpose, as servers do not announce this feature.
|
||||||
*/
|
*/
|
||||||
|
// TODO: Remove in Smack 4.6.
|
||||||
|
@Deprecated
|
||||||
public boolean isSupportedByServer()
|
public boolean isSupportedByServer()
|
||||||
throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
|
throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
|
||||||
return ServiceDiscoveryManager.getInstanceFor(connection())
|
return ServiceDiscoveryManager.getInstanceFor(connection())
|
||||||
|
|
Loading…
Reference in a new issue