Method

PurplePersonget_avatar_for_display

since: 3.0

Declaration [src]

PurpleAvatar*
purple_person_get_avatar_for_display (
  PurplePerson* person
)

Description [src]

Gets the avatar that should be displayed for person. If person has an avatar set, it will be returned, otherwise this will fallback to the value of PurpleContactInfo:avatar for PurplePerson:priority-contact-info.

Available since: 3.0

Return value

Type: PurpleAvatar

The avatar to display.

The data is owned by the instance.
The return value can be NULL.