I am implementing the client side code for ejabberd MucSub extension (Multi-User Chat Subscriptions | ejabberd Docs ).
When I send the IQ for subscriptions list, I am getting correct response IQ in debug logs but in StanzaListener the same response is delivered as broken xml.
Following is response IQ I am getting in debug log and in StanzaListener.
In debug logs:
<subscriptions xmlns=‘urn:xmpp:mucsub:0’<subscriptions xmlns=‘urn:xmpp:mucsub:0’><subscription jid=‘firstname.lastname@example.org’/><subscription jid=‘email@example.com’/></subscriptions>
Can anyone help me out with this? I am using smack 4.2.0.
Thanks in advance.