diff options
author | mathieui <mathieui@mathieui.net> | 2014-10-20 21:04:50 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-10-20 21:21:06 +0200 |
commit | b44dae8fae4884387d4d149a17033b261c940dea (patch) | |
tree | 24d1e67af120ec12c42029ff435ab4179c865269 | |
parent | f9734cde5623aaf701e222b00d5eebdf7a152772 (diff) | |
download | poezio-b44dae8fae4884387d4d149a17033b261c940dea.tar.gz poezio-b44dae8fae4884387d4d149a17033b261c940dea.tar.bz2 poezio-b44dae8fae4884387d4d149a17033b261c940dea.tar.xz poezio-b44dae8fae4884387d4d149a17033b261c940dea.zip |
If the whitespace_interval value set in the config is null or negative, don’t send any
-rw-r--r-- | src/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |