Software /
code /
prosody
Changeset
1335:7c71783b40cf
mod_pep: Add host identity pubsub/pep
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 12 Jun 2009 14:35:52 +0500 |
parents | 1334:6846c5cc9ce2 |
children | 1336:389b4fb48901 |
files | plugins/mod_pep.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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'})