no need to call con.disconnect in disconnectedCB
This commit is contained in:
parent
4ceafceede
commit
b3473a5f1f
|
@ -167,7 +167,6 @@ class GajimCore:
|
||||||
log.debug("disconnectedCB")
|
log.debug("disconnectedCB")
|
||||||
if self.connected[self.connexions[con]] == 1:
|
if self.connected[self.connexions[con]] == 1:
|
||||||
self.connected[self.connexions[con]] = 0
|
self.connected[self.connexions[con]] = 0
|
||||||
con.disconnect()
|
|
||||||
self.hub.sendPlugin('STATUS', self.connexions[con], 'offline')
|
self.hub.sendPlugin('STATUS', self.connexions[con], 'offline')
|
||||||
if self.connexions.has_key(con):
|
if self.connexions.has_key(con):
|
||||||
del self.connexions[con]
|
del self.connexions[con]
|
||||||
|
|
Loading…
Reference in New Issue