I am implementing chat with Smack 4.1.7 for android, and i would like to know if it is now possible to retrieve chat history. I read some posts on StackOverflow dated June 2015, and that point in time they said that this support has not been added. Will you please let me know if this support exists? Also, if it does, where could i get a code reference of the same?
and all the groupchat in the service will send the history automatically (it’s possible to limit days for history with param: xmpp.muc.history.reload.limit in days)
Thanks alot for the reply. Will you please let me know how to create a multi user chat using smack v4.1.7 ? I have to create a multi user chat for maintaining a chat history?
Also, i get an error: “cannot resolve method name getMultiUserChatService(String string)” when i try using the code you have provided.
org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 5000ms (~5s). Used filter: AndFilter: (FromMatchesFilter (full): myroom@domain.com/testbot, StanzaTypeFilter: Presence).