{"action":"created","issue":{"url":"https://api.github.com/repos/jcbrand/converse.js/issues/442","labels_url":"https://api.github.com/repos/jcbrand/converse.js/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/jcbrand/converse.js/issues/442/comments","events_url":"https://api.github.com/repos/jcbrand/converse.js/issues/442/events","html_url":"https://github.com/jcbrand/converse.js/pull/442","id":96843881,"number":442,"title":"Message Archive Management","user":{"login":"jcbrand","id":683911,"avatar_url":"https://avatars.githubusercontent.com/u/683911?v=3","gravatar_id":"","url":"https://api.github.com/users/jcbrand","html_url":"https://github.com/jcbrand","followers_url":"https://api.github.com/users/jcbrand/followers","following_url":"https://api.github.com/users/jcbrand/following{/other_user}","gists_url":"https://api.github.com/users/jcbrand/gists{/gist_id}","starred_url":"https://api.github.com/users/jcbrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcbrand/subscriptions","organizations_url":"https://api.github.com/users/jcbrand/orgs","repos_url":"https://api.github.com/users/jcbrand/repos","events_url":"https://api.github.com/users/jcbrand/events{/privacy}","received_events_url":"https://api.github.com/users/jcbrand/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-23T15:44:24Z","updated_at":"2015-07-27T08:50:46Z","closed_at":"2015-07-27T08:50:36Z","pull_request":{"url":"https://api.github.com/repos/jcbrand/converse.js/pulls/442","html_url":"https://github.com/jcbrand/converse.js/pull/442","diff_url":"https://github.com/jcbrand/converse.js/pull/442.diff","patch_url":"https://github.com/jcbrand/converse.js/pull/442.patch"},"body":"This pull request implements support for MAM, as asked for in #306.\r\n\r\nThe following new configuration options have been added:\r\n\r\n- [muc_history_max_stanzas](https://github.com/jcbrand/converse.js/blob/mam/docs/source/configuration.rst#muc-history-max-stanzas)\r\n- [archived_messages_page_size](                                                                                                                                                                                  \r\nhttps://github.com/jcbrand/converse.js/blob/mam/docs/source/configuration.rst#archived-messages-page-size)\r\n- [message_archiving](https://github.com/jcbrand/converse.js/blob/mam/docs/source/configuration.rst#message-archiving)                                                                                                                                                                                                                  \r\n\r\nThe **message_archiving** option allows you to specify your archiving preferences, but these preferences may or may not be ignored by the XMPP server, depending on how it's configured.\r\nIf the server is configured to always ignore what the client says, then that option makes no difference.                                                                                                                                                                                                    \r\nOtherwise, if the server by default doesn't log and listens to what the client prefers, then it is necessary.\r\n\r\nBesides showing archived messages, there is now also an API for archived messages:\r\nhttps://github.com/jcbrand/converse.js/blob/mam/docs/source/development.rst#the-archive-grouping\r\n\r\nCC: @fpytloun"},"comment":{"url":"https://api.github.com/repos/jcbrand/converse.js/issues/comments/125132191","html_url":"https://github.com/jcbrand/converse.js/pull/442#issuecomment-125132191","issue_url":"https://api.github.com/repos/jcbrand/converse.js/issues/442","id":125132191,"user":{"login":"jcbrand","id":683911,"avatar_url":"https://avatars.githubusercontent.com/u/683911?v=3","gravatar_id":"","url":"https://api.github.com/users/jcbrand","html_url":"https://github.com/jcbrand","followers_url":"https://api.github.com/users/jcbrand/followers","following_url":"https://api.github.com/users/jcbrand/following{/other_user}","gists_url":"https://api.github.com/users/jcbrand/gists{/gist_id}","starred_url":"https://api.github.com/users/jcbrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcbrand/subscriptions","organizations_url":"https://api.github.com/users/jcbrand/orgs","repos_url":"https://api.github.com/users/jcbrand/repos","events_url":"https://api.github.com/users/jcbrand/events{/privacy}","received_events_url":"https://api.github.com/users/jcbrand/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T08:50:46Z","updated_at":"2015-07-27T08:50:46Z","body":"Good to hear! Thanks."}}