Method

PurpleAccountprivacy_check

Declaration [src]

gboolean
purple_account_privacy_check (
  PurpleAccount* account,
  const char* who
)

Description [src]

Check the privacy-setting for a user.

Parameters

who const char*
 

The name of the user.

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

Return value

Returns: gboolean
 

FALSE if the specified account’s privacy settings block the user or TRUE otherwise. The meaning of “block” is protocol-dependent and generally relates to status and/or sending of messages.