Function

PurpleProtocolgot_user_idle

Declaration [src]

void
purple_protocol_got_user_idle (
  PurpleAccount* account,
  const char* name,
  gboolean idle,
  time_t idle_time
)

Description [src]

Notifies Purple that a buddy’s idle state and time have changed.

This is meant to be called from protocols.

Parameters

account PurpleAccount
 

The account the user is on.

 The data is owned by the caller of the function.
name const char*
 

The name of the buddy.

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

The user’s idle state.

idle_time time_t
 

The user’s idle time. This is the time at which the user became idle, in seconds since the epoch. If the protocol does not know this value then it should pass 0.