xmpp - Android asmack received iq packets are formatted in wrong way -
i using asmack implementing chat client application. sending iq request fetching previous chats. though previous chats of them broken. output should off following order:
<iq id="iqrequestpubsubitems" to="someid" from="example.com" type="result"> <pubsub xmlns="http://jabber.org/protocol/pubsub"> <items node='some_node_id'> <item id='55812e6aaf0eb'> <entry xmlns="mcn:panel"> <body>new image</body> <imagename>file.6</imagename> <file name="public-380" type="image/jpg"/> <published jid="some_id" datetime="2013-05-09t05:30:18z"/> </item> but getting response follows:
<iq id="iqrequestpubsubitems" to="someid" from="example.com" type="result"> <pubsub xmlns="http://jabber.org/protocol/pubsub"> <items node='some_node_id'> <item id='55812e6aaf0eb'> <body>new image</body> <imagename>file.6</imagename> <file name="public-380" type="image/jpg"/> </item> <published xmlns="mcn:panel"> </published> iam using asmack6 on android api 17. when checked on server sending correctly. when enabled debug on asmack see receives proper message when packet in android app's packetlistener gets broken.
Comments
Post a Comment