summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.py')
-rw-r--r--src/gui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui.py b/src/gui.py
index bbed0c98..ec7480bd 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -171,6 +171,8 @@ class Gui(object):
self.refresh_window()
def on_got_offline(self, presence):
+ from common import debug
+ debug('OFFLINE: %s\n' % presence)
jid = presence['from']
contact = self.roster.get_contact_by_jid(jid.bare)
if not contact:
@@ -183,6 +185,8 @@ class Gui(object):
self.refresh_window()
def on_got_online(self, presence):
+ from common import debug
+ debug('ONLINE: %s\n' % presence)
jid = presence['from']
contact = self.roster.get_contact_by_jid(jid.bare)
if not contact: