summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo (C10uD) <c10ud.dev@gmail.com>2011-09-01 13:10:07 +0200
committerRiccardo (C10uD) <c10ud.dev@gmail.com>2011-09-01 14:07:41 +0200
commit5402980f4b357a4596cebe15d3f4acae067b36a7 (patch)
treedd78ec288fb96c57b2c6e9ecf71c2faa849387a5
parent13c4e3bfe9a0667caf1b31bbe2d34f74f20455e0 (diff)
keepalive: actually set the timer id var
-rw-r--r--papyon/msnp/switchboard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/papyon/msnp/switchboard.py b/papyon/msnp/switchboard.py
index 78da280..288e755 100644
--- a/papyon/msnp/switchboard.py
+++ b/papyon/msnp/switchboard.py
@@ -118,7 +118,7 @@ class SwitchboardProtocol(BaseProtocol):
logger.info("New switchboard session %s" % session_id)
client.profile.connect("end-point-added", self._on_end_point_added)
if client.keepalive_conversations:
- gobject.timeout_add_seconds(8, self._keepalive_conversation)
+ self.keepalive_timer_id = gobject.timeout_add_seconds(8, self._keepalive_conversation)
# Properties ------------------------------------------------------------
@property