Method

PurplePresenceis_status_primitive_active

since: 2.0.0

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.

Available since: 2.0.0

Parameters

primitive

Type: PurpleStatusPrimitive

The status primitive.

Return value

Type: gboolean

TRUE if the status is active, or FALSE.