Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2004-05-25 19:30:20 +0400
committerYann Leboulanger <asterix@lagaule.org>2004-05-25 19:30:20 +0400
commit38c953493f7ff184d7e68b6b1d08b7657ebd968c (patch)
tree17f88a737d1bbaa89db1b563cf9f2a9c7065f611 /core
parentb819f1c9cfbfdcd84ecc5b12862372434381321a (diff)
revision 153 cause troubles when we disconnect
Diffstat (limited to 'core')
-rw-r--r--core/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core.py b/core/core.py
index 6d0f75711..aab7b17bc 100644
--- a/core/core.py
+++ b/core/core.py
@@ -204,7 +204,6 @@ class GajimCore:
connection=common.xmlstream.TCP, port=5222, proxy = proxy)
#debug = [common.jabber.DBG_ALWAYS], log = sys.stderr, \
#connection=common.xmlstream.TCP_SSL, port=5223, proxy = proxy)
- con.setDisconnectHandler(self.disconnectedCB)
try:
con.connect()
except IOError, e:
@@ -225,6 +224,7 @@ class GajimCore:
con.registerHandler('message', self.messageCB)
con.registerHandler('presence', self.presenceCB)
con.registerHandler('iq',self.vCardCB,'result')#common.jabber.NS_VCARD)
+ con.setDisconnectHandler(self.disconnectedCB)
#BUG in jabberpy library : if hostname is wrong : "boucle"
if con.auth(name, password, ressource):
self.connexions[con] = account