revert test patch. fix previous commit
This commit is contained in:
parent
bb5db97546
commit
aa116a08c1
1 changed files with 3 additions and 3 deletions
|
@ -1192,10 +1192,10 @@ class RosterWindow:
|
||||||
|
|
||||||
# add status msg, if not empty, under contact name in
|
# add status msg, if not empty, under contact name in
|
||||||
# the treeview
|
# the treeview
|
||||||
if not contact.status:
|
|
||||||
contact.status = ' '
|
|
||||||
if contact.status and gajim.config.get('show_status_msgs_in_roster'):
|
if contact.status and gajim.config.get('show_status_msgs_in_roster'):
|
||||||
status = helpers.reduce_chars_newlines(contact.status,
|
status = contact.status.strip()
|
||||||
|
if status != '':
|
||||||
|
status = helpers.reduce_chars_newlines(status,
|
||||||
max_lines = 1)
|
max_lines = 1)
|
||||||
# escape markup entities and make them small
|
# escape markup entities and make them small
|
||||||
# italic and fg color color is calcuted to be
|
# italic and fg color color is calcuted to be
|
||||||
|
|
Loading…
Add table
Reference in a new issue