diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index e1542a091..ef1ed1b38 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -102,8 +102,13 @@ class TabbedChatWindow(chat.Chat): # this is the text for the big brown bar # some chars need to be escaped.. this fixes '&' name = name.replace('&', '&') + + # composing full jid + fulljid = jid + if self.users[jid].resource: + fulljid += '/' + self.users[jid].resource label_text = '%s\n%s' \ - % (name, jid) + % (name, fulljid) # setup the label that holds name and jid banner_name_label = self.xmls[jid].get_widget('banner_name_label')