Diff

plugins/mod_pep.lua @ 1338:0bfc8d866479

mod_pep: Add pubsub#publsih disco feature to host
author Waqas Hussain <waqas20@gmail.com>
date Fri, 12 Jun 2009 15:33:41 +0500
parent 1335:7c71783b40cf
child 1399:8879f8278762
line wrap: on
line diff
--- a/plugins/mod_pep.lua	Fri Jun 12 11:21:25 2009 +0100
+++ b/plugins/mod_pep.lua	Fri Jun 12 15:33:41 2009 +0500
@@ -12,6 +12,7 @@
 local recipients = {};
 
 module:add_identity("pubsub", "pep");
+module:add_feature("http://jabber.org/protocol/pubsub#publish");
 
 local function publish(session, node, item)
 	local stanza = st.message({from=session.full_jid, type='headline'})