diff options
Diffstat (limited to 'src/gui.py')
-rw-r--r-- | src/gui.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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: |