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
Marcin Mielniczuk
python-nbxmpp
Commits
396c27a9
Commit
396c27a9
authored
Jan 26, 2019
by
Philipp Hörist
Browse files
Fix BOSH disconnect
parent
f60eb4d2
Changes
1
Show whitespace changes
Inline
Side-by-side
nbxmpp/dispatcher_nb.py
View file @
396c27a9
...
...
@@ -623,6 +623,9 @@ class XMPPDispatcher(PlugIn):
continue
if
_id
in
self
.
on_responses
:
if
len
(
self
.
_expected
)
==
1
:
if
hasattr
(
self
.
_owner
,
'onreceive'
):
# With BOSH we get a terminating body with multiple stanzas
# in it, we unplug BOSH before we parse the stanzas
self
.
_owner
.
onreceive
(
None
)
resp
,
args
=
self
.
on_responses
[
_id
]
del
self
.
on_responses
[
_id
]
...
...
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