Mercurial > libervia-desktop-kivy
diff cagou/kv/common.kv @ 391:841045d5a937
common: when possible, a more user friendly name is displayed for the contact, instead of the jid.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 06 Feb 2020 21:16:21 +0100 |
parents | 38fd457b2158 |
children | 54f6a47cc60a |
line wrap: on
line diff
--- a/cagou/kv/common.kv Thu Feb 06 21:16:21 2020 +0100 +++ b/cagou/kv/common.kv Thu Feb 06 21:16:21 2020 +0100 @@ -31,7 +31,7 @@ size_hint: None, None text_size: root.base_width, None size: self.texture_size - text: root.jid + text: root.data.get('nick', root.jid.node or root.jid) bold: True valign: 'middle' halign: 'center'