diff options
author | Sandro Munda <sandro.munda@guardis.com> | 2012-06-04 08:03:08 +0200 |
---|---|---|
committer | Sandro Munda <sandro.munda@guardis.com> | 2012-06-07 18:38:56 +0200 |
commit | cf24b870b124be3f41c496aa2a99b4c6f626e22f (patch) | |
tree | 9a5aae7dbb35b0f4aa3c3bd3179fb9c89b5cf61e /sleekxmpp/plugins/xep_0065/stanza.py | |
parent | 69cffce7dcaea56fa35f9c39299e98eb5576f20d (diff) | |
download | slixmpp-cf24b870b124be3f41c496aa2a99b4c6f626e22f.tar.gz slixmpp-cf24b870b124be3f41c496aa2a99b4c6f626e22f.tar.bz2 slixmpp-cf24b870b124be3f41c496aa2a99b4c6f626e22f.tar.xz slixmpp-cf24b870b124be3f41c496aa2a99b4c6f626e22f.zip |
Registered stanza plugin in the stanza module
Diffstat (limited to 'sleekxmpp/plugins/xep_0065/stanza.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0065/stanza.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sleekxmpp/plugins/xep_0065/stanza.py b/sleekxmpp/plugins/xep_0065/stanza.py index ef70a368..0990a509 100644 --- a/sleekxmpp/plugins/xep_0065/stanza.py +++ b/sleekxmpp/plugins/xep_0065/stanza.py @@ -1,4 +1,6 @@ -from sleekxmpp.xmlstream import ElementBase +from sleekxmpp import Iq +from sleekxmpp.xmlstream import ElementBase, register_stanza_plugin + # The protocol namespace defined in the Socks5Bytestream (0065) spec. namespace = 'http://jabber.org/protocol/bytestreams' @@ -34,5 +36,6 @@ class Query(ElementBase): interfaces = set(('sid', 'activate')) sub_interfaces = set(('activate',)) - - +register_stanza_plugin(Iq, Query) +register_stanza_plugin(Query, StreamHost) +register_stanza_plugin(Query, StreamHostUsed) |