mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-16 18:11:08 +01:00
Deprecate legacy disco-publish API of ServiceDiscoveryManager
This commit is contained in:
parent
41f5cf8435
commit
ec4be1963a
2 changed files with 16 additions and 0 deletions
|
|
@ -278,7 +278,11 @@ public final class AdHocCommandManager extends Manager {
|
|||
* @throws XMPPException if the operation failed for some reason.
|
||||
* @throws SmackException if there was no response from the server.
|
||||
* @throws InterruptedException
|
||||
* @deprecated This method uses no longer existent XEP-0030 features and will be removed.
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
@Deprecated
|
||||
// TODO: Remove in Smack 4.4.
|
||||
public void publishCommands(Jid jid) throws XMPPException, SmackException, InterruptedException {
|
||||
// Collects the commands to publish as items
|
||||
DiscoverItems discoverItems = new DiscoverItems();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue