we now show the resource in tabbed_chat_window (thx Liorithiel)
This commit is contained in:
parent
9f925c236e
commit
03a98e86d8
|
@ -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 = '<span weight="heavy" size="x-large">%s</span>\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')
|
||||
|
|
Loading…
Reference in New Issue