diff options
author | Lance Stout <lancestout@gmail.com> | 2012-03-10 00:07:56 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-03-10 00:07:56 -0800 |
commit | 78a50d02374185e3f06dcee9fc2d2bca1ed1abbe (patch) | |
tree | 97cd4242eb721810207ff9628d2535c6c2d3fc85 /sleekxmpp/plugins/xep_0060/stanza/pubsub_errors.py | |
parent | 861d279b0822fe66cb6311898c808ab6f0e4a3b2 (diff) | |
download | slixmpp-78a50d02374185e3f06dcee9fc2d2bca1ed1abbe.tar.gz slixmpp-78a50d02374185e3f06dcee9fc2d2bca1ed1abbe.tar.bz2 slixmpp-78a50d02374185e3f06dcee9fc2d2bca1ed1abbe.tar.xz slixmpp-78a50d02374185e3f06dcee9fc2d2bca1ed1abbe.zip |
Add support for pubsub notification events.
Publishes, retractions, purges, and deletions now raise the events:
- pubsub_publish
- pubsub_retract
- pubsub_purge
- pubsub_delete
In addition, custom events may be raised based on the node that
generated the notification. For example:
xmpp['xep_0060'].map_node_event('http://jabber.org/protocol/tune',
'user_tune')
will allow for using the events:
- user_tune_publish
- user_tune_retract
- user_tune_purge
- user_tune_delete
Diffstat (limited to 'sleekxmpp/plugins/xep_0060/stanza/pubsub_errors.py')
0 files changed, 0 insertions, 0 deletions