mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
mod_pep: Add host identity pubsub/pep
This commit is contained in:
parent
cfb4654a31
commit
d0d6966f9d
1 changed files with 2 additions and 0 deletions
|
@ -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'})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue