Method

PurpleProtocolClientfind_blist_chat

Declaration [src]

PurpleChat*
purple_protocol_client_find_blist_chat (
  PurpleProtocolClient* client,
  PurpleAccount* account,
  const gchar* name
)

Description [src]

Looks for a chat named name in the contact list of account.

Available since:3.0.0

Parameters

account PurpleAccount
 

A PurpleAccount instance.

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

The name of the chat to find.

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

Return value

Returns: PurpleChat
 

The PurpleChat instance or NULL if no chat could be found.

 The data is owned by the instance.