From d707ef2835dc76b4e71554474d1c761fab366dae Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sat, 16 Jun 2012 13:51:54 +0200
Subject: [PATCH] fix typo. Fixes #7161

---
 src/common/connection_handlers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py
index 9c6776e77f..c34fa344f0 100644
--- a/src/common/connection_handlers.py
+++ b/src/common/connection_handlers.py
@@ -2024,7 +2024,7 @@ ConnectionJingle, ConnectionIBBytestream):
     def _StreamCB(self, con, obj):
         log.debug('StreamCB')
         gajim.nec.push_incoming_event(StreamReceivedEvent(None,
-            conn=self, stanza=iq_obj))
+            conn=self, stanza=obj))
 
     def _register_handlers(self, con, con_type):
         # try to find another way to register handlers in each class
-- 
GitLab