Diff

plugins/mod_pep.lua @ 1335:7c71783b40cf

mod_pep: Add host identity pubsub/pep
author Waqas Hussain <waqas20@gmail.com>
date Fri, 12 Jun 2009 14:35:52 +0500
parent 1332:f7fed9f77455
child 1338:0bfc8d866479
line wrap: on
line diff
--- a/plugins/mod_pep.lua	Fri Jun 12 14:32:32 2009 +0500
+++ b/plugins/mod_pep.lua	Fri Jun 12 14:35:52 2009 +0500
@@ -11,6 +11,8 @@
 local data = {};
 local recipients = {};
 
+module:add_identity("pubsub", "pep");
+
 local function publish(session, node, item)
 	local stanza = st.message({from=session.full_jid, type='headline'})
 		:tag('event', {xmlns='http://jabber.org/protocol/pubsub#event'})