plugins/archive.lua

changeset 291
b78137f5118e
parent 275
c077b20ad59f
child 292
b674f5ca85d4
equal deleted inserted replaced
290:e898d0fe77f7 291:b78137f5118e
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)

mercurial