Skip to content

Commit

Permalink
[chatmarkers] Deprecate ChatMarkers.isSupportedByServer()
Browse files Browse the repository at this point in the history
Fixes SMACK-934.
  • Loading branch information
Flowdalic committed Nov 24, 2023
1 parent a270542 commit 91db78b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,10 @@ else if (ChatMarkersElements.AcknowledgedExtension.from(message) != null) {
* @throws XMPPErrorException in case an error response was received.
* @throws NoResponseException if no response was received.
* @throws InterruptedException if the connection is interrupted.
* @deprected This method serves no purpose, as servers do not announce this feature.
*/
// TODO: Remove in Smack 4.6.
@Deprecated
public boolean isSupportedByServer()
throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
return ServiceDiscoveryManager.getInstanceFor(connection())
Expand Down

0 comments on commit 91db78b

Please sign in to comment.