|
From: Thibault M. <thi...@gm...> - 2017-01-14 08:46:23
|
Hi all, I am not sure this is the right place for this, but I have implemented some support for server-side archive management (XEP-0313 Message Archive Management) in emacs-jabber. The attached patch (to apply on top of the master branch) contains the current version. Most of the code is in the new jabber-mam.el module, with additional modifications to the jabber-chat and jabber-history. The code branches off the file history extraction to create and send the MAM query instead of reading the archive from a file. MAM results are processed by a function added to `jabber-message-chain'. The code supports result paging according to XEP-0059 (Result Set Management). Does this look like something that could be merged? Any suggestion or review would be welcome. Thanks in advance. thibault P.S.: Is there any syncing with the github emacs-jabber repository (https://github.com/legoscia/emacs-jabber?). I am thinking it may be easier to get people to test this on github (I could submit a pull request there if preferred). |