Skip to content
Snippets Groups Projects
Commit 03a98e86 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

we now show the resource in tabbed_chat_window (thx Liorithiel)

parent 9f925c23
No related branches found
No related tags found
No related merge requests found
......@@ -102,8 +102,13 @@ def draw_name_banner(self, name, jid):
# 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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment