1
0
Fork 0
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:
Fernando Ramirez 2017-01-02 11:10:27 -03:00 committed by Florian Schmaus
parent 5c2d18deb4
commit 018a7dd93a
6 changed files with 186 additions and 7 deletions

View file

@ -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`