Changeset

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
parents 1336:389b4fb48901
children 1339:7d77f92f94c9
files plugins/mod_pep.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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'})