Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
ngboonseong #1
Member since Jan 2010 · 19 posts
Group memberships: Members
Show profile · Link to this post
Subject: Message History and How to Retrieve it
Hi,

May I know how to configure Openfire to automatically store the chatting (message) history in the server (probably default it does ?)
and how to retrieve it using the agsxmpp SDK ?

I have tested the Openfire default setup with Spark client able to retrieve the previous chatting history but I could not
find any function in agsxmpp that allow me to retrieve the history.

Thanks.

Regards,
Boon Seong
Avatar
Alex #2
Member since Feb 2003 · 4328 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by ngboonseong:
May I know how to configure Openfire to automatically store the chatting (message) history in the server (probably default it does ?)
and how to retrieve it using the agsxmpp SDK ?
By default Openfire does not store the message history on the server. There are plugins which you can use to enable this functionality. You have to enable and configure on the server, not with the SDK.

Quote by ngboonseong:
I have tested the Openfire default setup with Spark client able to retrieve the previous chatting history but I could not
find any function in agsxmpp that allow me to retrieve the history.
Most existing XMPP clients store the history local in a database. I guess Spark does exactly the same.

There is an extensions for message archiving, but I don't know if Openfire is compatible with this extension. agsXMPP dies not support. If you want to use it you have to write your own plugin for agsXMPP to support it.

Alex
Avatar
ngboonseong #3
Member since Jan 2010 · 19 posts
Group memberships: Members
Show profile · Link to this post
Hi Alex,

I manage to find the plugin that support message archiving for Openfire as following :

http://www.igniterealtime.org/community/docs/DOC-1094


My question now is how to retrieve the archived message using the agsxmpp sdk ?

Thanks.

Regards,
Boon Seong
Avatar
Alex #4
Member since Feb 2003 · 4328 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by ngboonseong:
My question now is how to retrieve the archived message using the agsxmpp sdk ?

There is no support for XEP-0136 in agsXMPP. You have to write your own extensions to receive the archived messages.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS