1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-12-06 05:01:12 +01:00

Make UnblockContactsIQ immutable

and make the serialization function idiomatic.
This commit is contained in:
Florian Schmaus 2017-01-20 08:52:37 +01:00
parent 07cba5b974
commit b3662c0682
2 changed files with 19 additions and 12 deletions

View file

@ -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'>"