Method

PurplePresenceManagerset_active_from_id

unstable since: 3.0

Declaration [src]

gboolean
purple_presence_manager_set_active_from_id (
  PurplePresenceManager* manager,
  const char* id
)

Description [src]

Sets the active presence to the saved presence with the given id.

Available since: 3.0

Parameters

id

Type: const char*

The id of the presence to set.

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

Return value

Type: gboolean

True if the presence was found and activated, otherwise false.