Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim
Commits
24d94521
Commit
24d94521
authored
Jul 28, 2015
by
Yann Leboulanger
Browse files
prevent traceback
parent
05c63682
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/common/connection.py
View file @
24d94521
...
@@ -913,7 +913,9 @@ def _disconnectedReconnCB(self):
...
@@ -913,7 +913,9 @@ def _disconnectedReconnCB(self):
self
.
sm
.
enabled
=
False
self
.
sm
.
enabled
=
False
gajim
.
nec
.
push_incoming_event
(
OurShowEvent
(
None
,
conn
=
self
,
gajim
.
nec
.
push_incoming_event
(
OurShowEvent
(
None
,
conn
=
self
,
show
=
'error'
))
show
=
'error'
))
self
.
connection
.
UnregisterDisconnectHandler
(
self
.
_disconnectedReconnCB
)
if
self
.
connection
:
self
.
connection
.
UnregisterDisconnectHandler
(
self
.
_disconnectedReconnCB
)
self
.
disconnect
()
self
.
disconnect
()
if
gajim
.
config
.
get_per
(
'accounts'
,
self
.
name
,
'autoreconnect'
):
if
gajim
.
config
.
get_per
(
'accounts'
,
self
.
name
,
'autoreconnect'
):
self
.
connected
=
-
1
self
.
connected
=
-
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment