Fixed the callback names of the xep_0065:
In-Band bytestreams -> Socks5 bytestreams
This commit is contained in:
parent
dcdf5dcd09
commit
ae01f1071a
@ -20,7 +20,7 @@ log = logging.getLogger(__name__)
|
|||||||
|
|
||||||
class xep_0065(base_plugin):
|
class xep_0065(base_plugin):
|
||||||
"""
|
"""
|
||||||
XEP-0065 In-Band Bytestreams
|
XEP-0065 Socks5 Bytestreams
|
||||||
"""
|
"""
|
||||||
|
|
||||||
description = "Socks5 Bytestreams"
|
description = "Socks5 Bytestreams"
|
||||||
@ -40,13 +40,13 @@ class xep_0065(base_plugin):
|
|||||||
|
|
||||||
# Handler for the streamhost stanza.
|
# Handler for the streamhost stanza.
|
||||||
self.xmpp.registerHandler(
|
self.xmpp.registerHandler(
|
||||||
Callback('In-Band Bytestreams',
|
Callback('Socks5 Bytestreams',
|
||||||
StanzaPath('iq@type=set/q/streamhost'),
|
StanzaPath('iq@type=set/q/streamhost'),
|
||||||
self._handle_streamhost))
|
self._handle_streamhost))
|
||||||
|
|
||||||
# Handler for the streamhost-used stanza.
|
# Handler for the streamhost-used stanza.
|
||||||
self.xmpp.registerHandler(
|
self.xmpp.registerHandler(
|
||||||
Callback('In-Band Bytestreams',
|
Callback('Socks5 Bytestreams',
|
||||||
StanzaPath('iq@type=result/q/streamhost-used'),
|
StanzaPath('iq@type=result/q/streamhost-used'),
|
||||||
self._handle_streamhost_used))
|
self._handle_streamhost_used))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user