mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
Blocking Command: add blocked error management and refactor SMACK-731
This commit is contained in:
parent
5c2d18deb4
commit
018a7dd93a
6 changed files with 186 additions and 7 deletions
|
@ -8,6 +8,7 @@ Allows to manage communications blocking.
|
|||
* Block contact
|
||||
* Unblock contact
|
||||
* Unblock all
|
||||
* Check if a message has a blocked error
|
||||
|
||||
|
||||
**XEP related:** [XEP-0191](http://xmpp.org/extensions/xep-0191.html)
|
||||
|
@ -61,3 +62,13 @@ Unblock all
|
|||
```
|
||||
blockingCommandManager.unblockAll();
|
||||
```
|
||||
|
||||
|
||||
Check if a message has a blocked error
|
||||
--------------------------------------
|
||||
|
||||
```
|
||||
BlockedErrorExtension.isInside(message));
|
||||
```
|
||||
*message* is a `Message`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue