summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-10 10:54:24 -0800
committerLance Stout <lancestout@gmail.com>2012-03-10 10:54:24 -0800
commit7f71ac7e0a43ca7a7b4347fe8f1bab0cb76e9741 (patch)
tree965411cdad7ed13a02d425d17c2aa0a011a7ebaa /sleekxmpp
parente5fc59a4c697a201d8644a98f0e4c3dbe69e0a5e (diff)
downloadslixmpp-7f71ac7e0a43ca7a7b4347fe8f1bab0cb76e9741.tar.gz
slixmpp-7f71ac7e0a43ca7a7b4347fe8f1bab0cb76e9741.tar.bz2
slixmpp-7f71ac7e0a43ca7a7b4347fe8f1bab0cb76e9741.tar.xz
slixmpp-7f71ac7e0a43ca7a7b4347fe8f1bab0cb76e9741.zip
Add user tune feature to disco, not just notifications.
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/plugins/xep_0118/user_tune.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0118/user_tune.py b/sleekxmpp/plugins/xep_0118/user_tune.py
index 1089faad..d36466d6 100644
--- a/sleekxmpp/plugins/xep_0118/user_tune.py
+++ b/sleekxmpp/plugins/xep_0118/user_tune.py
@@ -33,6 +33,7 @@ class xep_0118(base_plugin):
base_plugin.post_init(self)
pubsub_stanza = self.xmpp['xep_0060'].stanza
register_stanza_plugin(pubsub_stanza.EventItem, UserTune)
+ self.xmpp['xep_0030'].add_feature(UserTune.namespace)
self.xmpp['xep_0163'].add_interest(UserTune.namespace)
self.xmpp['xep_0060'].map_node_event(UserTune.namespace, 'user_tune')