|
1 -- This implements XEP-0313: Message Archive Management |
|
2 -- http://xmpp.org/extensions/xep-0313.html |
|
3 -- (ie not XEP-0136) |
|
4 |
1 local xmlns_mam = "urn:xmpp:mam:tmp" |
5 local xmlns_mam = "urn:xmpp:mam:tmp" |
2 local uuid = require "util.uuid".generate; |
6 local uuid = require "util.uuid".generate; |
3 |
7 |
4 function verse.plugins.archive(stream) |
8 function verse.plugins.archive(stream) |
5 function stream:query_archive(where, query_params, callback) |
9 function stream:query_archive(where, query_params, callback) |