mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 15:16:21 +00:00
Simplify usage of roster_get_display_name()
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
@@ -192,6 +192,8 @@ p_contact_barejid_collate_key(const PContact contact)
|
||||
const char*
|
||||
p_contact_name(const PContact contact)
|
||||
{
|
||||
if (!contact)
|
||||
return NULL;
|
||||
return contact->name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user