Function
PurpleProtocolgot_user_idle
since: 3.0
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.
Available since: 3.0
Parameters
account
-
Type:
PurpleAccount
The account the user is on.
The data is owned by the caller of the function. name
-
Type:
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
-
Type:
gboolean
The user’s idle state.
idle_time
-
Type:
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.