summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorwaechtjn <Jan_Waechter@gmx.de>2014-01-26 16:48:31 +0100
committerwaechtjn <Jan_Waechter@gmx.de>2014-01-26 16:48:31 +0100
commitb95532b68b33787deef606e3ffc13e7416858b28 (patch)
tree6702a059b1371a41f809198481837cb9636caecc /sleekxmpp/plugins
parentd002d4c06fd90f5c6c0ddb38c0a38efc8fefd9ea (diff)
downloadslixmpp-b95532b68b33787deef606e3ffc13e7416858b28.tar.gz
slixmpp-b95532b68b33787deef606e3ffc13e7416858b28.tar.bz2
slixmpp-b95532b68b33787deef606e3ffc13e7416858b28.tar.xz
slixmpp-b95532b68b33787deef606e3ffc13e7416858b28.zip
Update xep_0065/proxy.py
Removed reference to undefined variable "conn"
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0065/proxy.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0065/proxy.py b/sleekxmpp/plugins/xep_0065/proxy.py
index 265d3030..eba7d1e9 100644
--- a/sleekxmpp/plugins/xep_0065/proxy.py
+++ b/sleekxmpp/plugins/xep_0065/proxy.py
@@ -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: