Method

PurplePersonset_alias

unstable since: 3.0

Declaration [src]

void
purple_person_set_alias (
  PurplePerson* person,
  const char* alias
)

Description [src]

Sets the alias of person to alias.

This should only be called in direct response to a user interaction to set a custom alias. Protocol plugins should only be setting the alias of PurpleContact.

If alias is NULL, then the previous alias is cleared.

Available since: 3.0

Sets propertyPurple.Person:alias

Parameters

alias

Type: const char*

The new alias.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.