# HG changeset patch # User Waqas Hussain # Date 1244799352 -18000 # Node ID 7c71783b40cf1144e1b97ae8808a6846be43e913 # Parent 6846c5cc9ce271c6881de76289b8d7e2cb4f53b9 mod_pep: Add host identity pubsub/pep diff -r 6846c5cc9ce2 -r 7c71783b40cf plugins/mod_pep.lua --- 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'})