# HG changeset patch # User Goffi # Date 1581020181 -3600 # Node ID 841045d5a9372f7c5e7b766510fab6981abbf526 # Parent 3d009fec34dafd485868d15c8632baa3ab33a5ed common: when possible, a more user friendly name is displayed for the contact, instead of the jid. diff -r 3d009fec34da -r 841045d5a937 cagou/kv/common.kv --- 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'