1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Merge pull request #219 from fuentesj11/update-doc1

Update/Edit blockingcommand.md
This commit is contained in:
Florian Schmaus 2018-04-04 14:45:06 +02:00 committed by GitHub
commit 58141940e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ Blocking Command
[Back](index.md)
Allows to manage communications blocking.
Allows one to manage communications blocking.
* Check push notifications support
* Get blocking list
@ -44,18 +44,18 @@ Block contact
-------------
```
blockingCommandManager.blockContact(jid);
blockingCommandManager.blockContacts(jids);
```
*jid* is a `Jid`
*jids* is a `java.util.List<Jid>`
Unblock contact
---------------
```
blockingCommandManager.unblockContact(jid);
blockingCommandManager.unblockContacts(jids);
```
*jid* is a `Jid`
*jids* is a `java.util.List<Jid>`
Unblock all