Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XEP-0313 MAM support. #21

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

thibaultmarin
Copy link

This is an attempt at implementing support for XEP-0313 Message Archive Management (http://xmpp.org/extensions/xep-0313.html).

I am testing this with a prosody server (Prosody trunk nightly build 732 (2016-12-19, 8efd51667622)) and mercurial prosody-modules (https://hg.prosody.im/prosody-modules/ changeset 2462:81127dcdb326).

It would be useful if people could test this and report.

Copy link

@DamienCassou DamienCassou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job. I hope a maintainer will look at it.

@@ -49,6 +50,12 @@ Default is nil, cause MUC logging may be i/o-intensive."
:type 'boolean
:group 'jabber-history)

(defcustom jabber-history-mam nil

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't that be a per-account option instead?

(nreverse jabber-mam-results))

(provide 'jabber-mam)
;;; jabber-mam.el ends here

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functions in these files are quite long. Your code would gain readability if some smaller functions were extracted from the large ones.

@thibaultmarin
Copy link
Author

thibaultmarin commented Feb 1, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants