From b44dae8fae4884387d4d149a17033b261c940dea Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 20 Oct 2014 21:04:50 +0200 Subject: [PATCH] =?UTF-8?q?If=20the=20whitespace=5Finterval=20value=20set?= =?UTF-8?q?=20in=20the=20config=20is=20null=20or=20negative,=20don?= =?UTF-8?q?=E2=80=99t=20send=20any?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection.py b/src/connection.py index e6188e05..dc35dd94 100644 --- a/src/connection.py +++ b/src/connection.py @@ -71,7 +71,7 @@ class Connection(sleekxmpp.ClientXMPP): if int(interval) > 0: self.whitespace_keepalive_interval = int(interval) else: - self.whitespace_keepalive_interval = 300 + self.whitespace_keepalive = False self.register_plugin('xep_0004') self.register_plugin('xep_0012') self.register_plugin('xep_0030')