mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-14 11:39:39 +02:00
Make UnblockContactsIQ immutable
and make the serialization function idiomatic.
This commit is contained in:
parent
07cba5b974
commit
b3662c0682
2 changed files with 19 additions and 12 deletions
|
@ -36,7 +36,7 @@ public class UnblockContactsIQTest {
|
|||
+ "<unblock xmlns='urn:xmpp:blocking'>" + "<item jid='romeo@montague.net'/>"
|
||||
+ "<item jid='pepe@montague.net'/>" + "</unblock>" + "</iq>";
|
||||
|
||||
String unblockAllIQExample = "<iq id='unblock2' type='set'>" + "<unblock xmlns='urn:xmpp:blocking'></unblock>"
|
||||
String unblockAllIQExample = "<iq id='unblock2' type='set'>" + "<unblock xmlns='urn:xmpp:blocking'/>"
|
||||
+ "</iq>";
|
||||
|
||||
String unblockAllPushIQExample = "<iq to='juliet@capulet.com/chamber' type='set' id='push5'>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue