since: 2.0.0

Declaration [src]

const char*
purple_buddy_get_contact_alias (
  PurpleBuddy* buddy

Description [src]

Returns the correct name to display for a buddy, taking the contact alias into account. In order of precedence: the buddy’s alias; the buddy’s contact alias; the buddy’s server alias; the buddy’s user name.

Available since: 2.0.0

Return value

Type: const char*

The appropriate name or alias, or NULL.

The data is owned by the instance.
The value is a NUL terminated UTF-8 string.