From c68f709c314b562c787c4e3f5d764d475da82d03 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 8 Jun 2005 09:44:59 +0000 Subject: [PATCH] bugfix: we don't have the jid in contacts.roster if it's a pm --- src/history_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/history_window.py b/src/history_window.py index 74d4fdb08..592298190 100644 --- a/src/history_window.py +++ b/src/history_window.py @@ -145,7 +145,7 @@ class History_window: self.nb_line = gajim.logger.get_nb_line(jid) xml = gtk.glade.XML(GTKGUI_GLADE, 'history_window', APP) self.window = xml.get_widget('history_window') - if account: + if account and self.plugin.roster.contacts[account].has_key(jid): list_users = self.plugin.roster.contacts[account][self.jid] user = list_users[0] title = 'Conversation History with ' + user.name