Method

PurpleAccountget_active_status

since: 2.0

Declaration [src]

PurpleStatus*
purple_account_get_active_status (
  PurpleAccount* account
)

Description [src]

Returns the active status for this account. This looks through the PurplePresence associated with this account and returns the PurpleStatus that has its active flag set to “TRUE.” There can be only one active PurpleStatus in a PurplePresence.

Available since: 2.0

Return value

Type: PurpleStatus

The active status.

The data is owned by the instance.