From 62f8937fae99752165e5ad366837af277295a498 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 25 Feb 2008 20:41:41 +0000 Subject: [PATCH] no need to draw muc in roster each time we get a presence or each time we get a message. --- src/gajim.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/gajim.py b/src/gajim.py index 75d1bc87c..ae9f36d52 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1176,11 +1176,6 @@ class Interface: control.chg_contact_status(nick, show, status, array[4], array[5], array[6], array[7], array[8], array[9], array[10], array[11]) - contact = gajim.contacts.\ - get_contact_with_highest_priority(account, room_jid) - if contact: - self.roster.draw_contact(room_jid, account) - ctrl = self.msg_win_mgr.get_control(fjid, account) # print status in chat window and update status/GPG image @@ -1240,11 +1235,6 @@ class Interface: gc_control.on_message(nick, array[1], array[2], array[3], xhtml, array[5]) - contact = gajim.contacts.\ - get_contact_with_highest_priority(account, room_jid) - if contact: - self.roster.draw_contact(room_jid, account) - if self.remote_ctrl: self.remote_ctrl.raise_signal('GCMessage', (account, array))