# HG changeset patch # User shinysky # Date 1274663286 -28800 # Node ID 86c28405c5da387ddfe3f7a8822fe5a3b3ed648a # Parent b51741b7e86d3f48657a5f83cc4ff805d12423e8 initial commitment of mod_archive diff -r b51741b7e86d -r 86c28405c5da mod_archive/mod_archive.lua --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_archive/mod_archive.lua Mon May 24 09:08:06 2010 +0800 @@ -0,0 +1,17 @@ +-- 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); +