MessageListener didnt receive full message ASMACK Android
- by Frank Junior
i got problem when want to receive message, right now i am able to receive message, but some attribut is missing
class MyMessageListener implements MessageListener {
@Override
public void processMessage(Chat chat, Message message) {
Util.DebugLog("message->"+message.toXmlns());
}
}
what i got is
<message to="[email protected]" type="chat" from="[email protected]/ff3b2485"><body asdf="asdf">aaa</body></message>
talk_id and chat type inside message is missing.
This is want i want when receive message
<message to="[email protected]" type="chat" talk_id="304" chat_type="0" from="[email protected]/ff3b2485"><body asdf="asdf">aaa</body></message>