if status is '', don't print it
This commit is contained in:
parent
a6a72ccf8d
commit
46e637ad5d
|
@ -925,7 +925,7 @@ class ChatControl(ChatControlBase):
|
|||
label_text = '<span %s>%s</span>%s' % \
|
||||
(font_attrs, name, acct_info)
|
||||
|
||||
if status is not None:
|
||||
if status:
|
||||
label_text += '\n%s' % status
|
||||
|
||||
# setup the label that holds name and jid
|
||||
|
|
Loading…
Reference in New Issue