xmpp-messenger-ios
xmpp-messenger-ios copied to clipboard
Unable to get Old messages
Hi,
I have been working with this module and i found one issue
OneMessage.sharedInstance.loadArchivedMessagesFrom(jid: recipient.jidStr) works only when the app has the data, if you delete the application and install again all old messages are retrieved.
Any solutions for this ?
Hello @aadilkeshwani90, It's the standard behavior, as if you have data it will fetch locally, if not, from the server. You can specify from where you want to fetch I believe (This is also not an issue, I'm closing it)
Archiving option is enable at server and server has the data. So this is the issue.
Please reopen it as server has the archiving option on and it has data but the above function is unable to get the data.
I'll check that in detail later today
@baoluo Did you check it. I'm also facing the same issue. XEP 0136 is implemented on server but OneMessage.sharedInstance.loadArchivedMessagesFrom(jid: recipient.jidStr) does not fetch old messages.
@baoluo How about this issue? I am facing with it and don't know how to fix it. Please help
Hello guys, the issue is that the the framework doesn't properly fetch the data from the server, I'll try to fix this today
Hello again, I had an hard time figuring what's going on, I'll need more time to investigate on this
I can confirm the issue in my own application as well. Other XMPP clients receive the archive, but our iOS app using this framework does not.
Hello guys i also wants to store the offline message and fetch the message history. Can you please help me what can i do ?
@baoluo any updates on this?
@baoluo any updates on this?
Sorry guys I don't have enough time right now to investigate on this
@baoluo any updates on this?
@ashokt , @mremond has taken over, he may be able to help you.