Method

PurplePresenceis_status_primitive_active

Declaration [src]

gboolean
purple_presence_is_status_primitive_active (
  PurplePresence* presence,
  PurpleStatusPrimitive primitive
)

Description [src]

Gets whether or not a status with the specified primitive type in presence is active.

A status is active if itself or any of its sub-statuses are active.

Parameters

primitive PurpleStatusPrimitive
 

The status primitive.

Return value

Returns: gboolean
 

TRUE if the status is active, or FALSE.