To enable XEP-0163: Personal Eventing Protocol support it is required to set persistent-pep
property of pubsub component to true
, set send-last-published-item-on-presence
property of component to true
and enable pep
SessionManager processor.
pubsub () { persistent-pep = true send-last-published-item-on-presence = true } sess-man () { pep () { } }
Note
If your pubsub component uses different name than pubsub
then you need to set pubsub-jid
property of pep
processor to JID of pubsub component make it aware of a different name of a pubsub component.
Example with pubsub component named events
hosted at server named servername.com
and enabled PEP.
events () { persistent-pep = true send-last-published-item-on-presence = true } sess-man () { pep () { 'pubsub-jid' = 'events@servername.com' } }