summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-04-18 03:07:28 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-04-18 03:07:28 +0200
commit3aa6e891a5be995f39b4364f8fe525ef9db6262b (patch)
tree03623c7e4e3d32cd7503946f5caf7146e10f7447 /src/core.py
parent78d8d3e74b6367257d3adad5fba45affb17b0a65 (diff)
downloadpoezio-3aa6e891a5be995f39b4364f8fe525ef9db6262b.tar.gz
poezio-3aa6e891a5be995f39b4364f8fe525ef9db6262b.tar.bz2
poezio-3aa6e891a5be995f39b4364f8fe525ef9db6262b.tar.xz
poezio-3aa6e891a5be995f39b4364f8fe525ef9db6262b.zip
Add some more debug and optimze the general refresh again
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 7b3bcb62..861e9144 100644
--- a/src/core.py
+++ b/src/core.py
@@ -333,6 +333,7 @@ class Core(object):
contact = roster.get_contact_by_jid(jid.bare)
if not contact:
return
+ log.debug('on_got_offline: %s' % presence)
resource = contact.get_resource_by_fulljid(jid.full)
assert resource
# If a resource got offline, display the message in the conversation with this
@@ -1341,8 +1342,6 @@ class Core(object):
'error roster warning help info').split():
popup_time = config.get('popup_time', 4) + (nb_lines - 1) * 2
self.pop_information_win_up(nb_lines, popup_time)
- # TODO: refresh only the correct window in the current tab
- self.refresh_window()
def disconnect(self, msg=None):
"""