From b44dae8fae4884387d4d149a17033b261c940dea Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 20 Oct 2014 21:04:50 +0200 Subject: =?UTF-8?q?If=20the=20whitespace=5Finterval=20value=20set=20in=20t?= =?UTF-8?q?he=20config=20is=20null=20or=20negative,=20don=E2=80=99t=20send?= =?UTF-8?q?=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') -- cgit v1.2.3