mod_pep: Add host identity pubsub/pep

This commit is contained in:
Waqas Hussain 2009-06-12 14:35:52 +05:00
parent cfb4654a31
commit d0d6966f9d

View file

@ -11,6 +11,8 @@ local load_roster = require "core.rostermanager".load_roster;
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'})