onPacket and getChat expect to receive a bare JID. This caused an exception at com.xabber.android.data.message.MessageManager.addChat(MessageManager.java:166) when xabber observed another presence send a message to a contact and that contact respond thereafter.