Comparison

plugins/archive.lua @ 291:b78137f5118e

plugins.archive: Add a header comment
author Kim Alvefur <zash@zash.se>
date Fri, 20 Apr 2012 00:32:36 +0200
parent 275:c077b20ad59f
child 292:b674f5ca85d4
comparison
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)