From 2a3434b1f81bed7e6c781a9504a87905f2d07948 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Fri, 27 Apr 2012 19:40:39 +0200 Subject: Fix the get_nick issue correctly this time. --- src/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabs.py b/src/tabs.py index f8923304..4b39ccc8 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -2502,7 +2502,7 @@ class ConversationTab(ChatTab): jid = JID(self.name) contact = roster.get_contact_by_jid(jid.bare) if contact: - return contact.name + return contact.name or jid.user else: return jid.user -- cgit v1.2.3