1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-12-16 18:11:08 +01:00

Merge branch '4.2'

This commit is contained in:
Florian Schmaus 2018-02-22 14:54:48 +01:00
commit 026f3a2f8c
34 changed files with 2250 additions and 3 deletions

View file

@ -271,7 +271,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();