[Psi-devel] XEP-0136 Message archiving for Psi ?

Bernhard xro-psi at nurfuerspam.de
Thu Jul 19 22:05:25 PDT 2007


textshell-I1QKlO at neutronstar.dyndns.org wrote:
> On Thu, Jul 19, 2007 at 06:36:22PM +0200, kael wrote:
>> Hi,
>>
>> Is there any plan to implement XEP-0136 ? Apparently, it's not on the 
>> roadmap.
>>
> 

Hi,

I'm currently experimenting a little bit with that, because just like
you, I'd like to see this feature in Psi :-)
However, there's still very much to be done.

For example, mod_archive is not up to date with the current version of
XEP-0136 and the definition of the secs="" attribute for message time
stamps has since changed. Just to say that as long as the server
implementations are also not 100% ready yet, the client implementations
definately wont be ;->

With regards to Psi, the XEP-136 idea of collections, and the planned
History/Event Viewer overhowl, I'm not exactly sure right now how to
seamlessly merge the local and server side history.
Ideas are welcome :-)
One of the problems is, that while psi has a linear history, there's
nothing saying that two server side collections collections can't
overlap in time. In fact thats a needed feature, as you want to separate
chats with different resources or on different topics or in different
threads, which might take place in parallel.
Of course, if Psi would adapt the collections approach and use them to
thread their history for example, that would make things a lot easier ;-)

btw:
you can test the pre-alpha version of my patch, but keep in mind that
it's highly unfinished:

http://www.student.tugraz.at/bernhard.tittelbach/jabber/xro-xep-0136-alpha.patch

So far it only let's you view the server side
collections for contacts. (Just select a collection in the history
dialog) No preferences, no archiving, and only xep-0136 v0.6 style time
stamps.
It works with ejabberd's mod_archive for me but I haven't tested it with
 OpenFire's Implementation yet. Feedback welcome :-)

Greetings,
Bernhard



More information about the Psi-Devel mailing list