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

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/nbxmpp
diff options
context:
space:
mode:
Diffstat (limited to 'nbxmpp')
-rw-r--r--nbxmpp/tcp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nbxmpp/tcp.py b/nbxmpp/tcp.py
index 637effe..9668a0a 100644
--- a/nbxmpp/tcp.py
+++ b/nbxmpp/tcp.py
@@ -285,6 +285,8 @@ class TCPConnection(Connection):
data = data.decode()
if data == ' ':
# keepalive whitespace
+ if self._write_queue:
+ self._write_stanzas()
return
for stanza in self._write_stanza_buffer: