Update xep_0065/proxy.py
Removed reference to undefined variable "conn"
This commit is contained in:
parent
d002d4c06f
commit
b95532b68b
1 changed files with 3 additions and 2 deletions
|
@ -88,8 +88,9 @@ class XEP_0065(base_plugin):
|
|||
|
||||
# Request that the proxy activate the session with the target.
|
||||
self.activate(proxy, sid, to, timeout=timeout)
|
||||
self.xmpp.event('stream:%s:%s' % (sid, conn.peer_jid), conn)
|
||||
return self.get_socket(sid)
|
||||
socket = self.get_socket(sid)
|
||||
self.xmpp.event('stream:%s:%s' % (sid, to), socket)
|
||||
return socket
|
||||
|
||||
def request_stream(self, to, sid=None, ifrom=None, block=True, timeout=None, callback=None):
|
||||
if sid is None:
|
||||
|
|
Loading…
Reference in a new issue