view mod_archive/mod_archive.lua @ 157:86c28405c5da

initial commitment of mod_archive
author shinysky<shinysky1986(AT)gmail.com>
date Mon, 24 May 2010 09:08:06 +0800
parents
children 9a37898f4f7c
line wrap: on
line source

-- Prosody IM
-- Copyright (C) 2008-2010 Dai Zhiwei
-- 
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--

local st = require "util.stanza";

module:add_feature("urn:xmpp:archive");

local function preferences_handler(event)
    return true;
end

module:hook("iq/self/urn:xmpp:archive:pref", preferences_handler);