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

fix status for gc vcard. Fixes #1765

parent ac1b00ec
No related branches found
No related tags found
No related merge requests found
......@@ -329,7 +329,9 @@ class VcardWindow:
c.last_status_time).decode(locale.getpreferredencoding())
one = False
elif not self.vcard: # Maybe gc_vcard ?
stats = self.contact.status
stats = helpers.get_uf_show(self.contact.show)
if self.contact.status:
stats += ': ' + self.contact.status
status_label = self.xml.get_widget('status_label')
status_label.set_max_width_chars(15)
status_label.set_text(stats)
......
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