aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-12 14:35:52 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-12 14:35:52 +0500
commitd0d6966f9d8f0f3dbb6a04de3bcf6d8ab41f593f (patch)
treed8ab8a8d73d3e1a0a6d506f22500555f4aa48cf8 /plugins/mod_pep.lua
parentcfb4654a31dd82d4eba13df6a1ba77909bee7fe2 (diff)
downloadprosody-d0d6966f9d8f0f3dbb6a04de3bcf6d8ab41f593f.tar.gz
prosody-d0d6966f9d8f0f3dbb6a04de3bcf6d8ab41f593f.zip
mod_pep: Add host identity pubsub/pep
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 74abd494..5274cf81 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -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'})