mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-14 19:49:38 +02:00
Rework blocking command code.
Mostly remove the helper utils. The server is required to present the client with a consisent state of the block list and corresponding modifications, so we should not end up with duplicate entires if we don't check for them. SMACK-731
This commit is contained in:
parent
9554c7be26
commit
98bacb144d
5 changed files with 24 additions and 40 deletions
|
@ -53,7 +53,7 @@ public class GetBlockingListTest {
|
|||
|
||||
IQ iq2 = (IQ) PacketParserUtils.parseStanza(emptyBlockListIQExample);
|
||||
BlockListIQ emptyBlockListIQ = (BlockListIQ) iq2;
|
||||
Assert.assertNull(emptyBlockListIQ.getJids());
|
||||
Assert.assertEquals(0, emptyBlockListIQ.getJids().size());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue