powered by Jive Software

Problem in retrieving group chat history

Is it possible to use cep-0136 to retrieve all chat history in a group chat? Actually what we are going to do is to implement a “load more earlier messages” functions in a public chartroom, we tried using request in section 7.1 and 7.2 to get the messages history but it only returns results with that occupant instead of the full messages. When we specify the Room JID in “with” attribute only user’s messages of that room is return, seems openfire help us to define the collection?

Can cep-0136 achieve what we want or is there any other XMPP protocol that can be used to query all group chat history?

References:

http://xmpp.org/extensions/xep-0136.html#manage-list

Great thanks!

Appreciate for any ideas! Does anyone have experience on building similar feature? Can we do that in Openfire or we will need to build a custom module for that?

Many thanks!

Carmen

I’m not a developer, but i think you understood wrongly how this xep works. It can pull only the archived messages, which a client supporting this xep can inform a server to store. You can’t pull general group chat history with these commands. I think that’s why you are getting strange results.

Thanks so much for your reply, wroot.

In your experience, do your know is there any Openfire supported xep which allow us to pull general group chat history?

Or we will need to create custom module for this?

I don’t know. Maybe you can use fetch from Group Chat xep http://xmpp.org/extensions/xep-0045.html

Thank you!:slight_smile: