Open chins25 opened 5 years ago
Hi,
I have implemented chat with Smack 4.1.0 for React Native.I am sending a following stanza for Android,
`
and, I am receiving following data,
{"from":"MyUser@serverdomain.com","body":null,"src":"<message to='MyUser@serverdomain.com/3fb36b4ca0a5c' from='MyUser@serverdomain.com'><thread>ThreadID</thread><result xmlns='urn:xmpp:mam:tmp'><archived></archived><request></request><delay></delay><stanza-id></stanza-id><active></active><body>My MESSAGE</body></result></message>","subject":null,"thread":"ThreadId"}
When I get a chat history, I do not get the JID and I get only my JID for all messages. SO , in this case I am unable to get the name of the person (JID) with whom I have chatted. Any help will be appreciated.
FYI for IOS it is working fine .
Hi,
I have implemented chat with Smack 4.1.0 for React Native.I am sending a following stanza for Android,
`
`
and, I am receiving following data,
{"from":"MyUser@serverdomain.com","body":null,"src":"<message to='MyUser@serverdomain.com/3fb36b4ca0a5c' from='MyUser@serverdomain.com'><thread>ThreadID</thread><result xmlns='urn:xmpp:mam:tmp'><archived></archived><request></request><delay></delay><stanza-id></stanza-id><active></active><body>My MESSAGE</body></result></message>","subject":null,"thread":"ThreadId"}
When I get a chat history, I do not get the JID and I get only my JID for all messages. SO , in this case I am unable to get the name of the person (JID) with whom I have chatted. Any help will be appreciated.
FYI for IOS it is working fine .