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