Method

PurpleConversationManagerfind_with_id

since: 3.0

Declaration [src]

PurpleConversation*
purple_conversation_manager_find_with_id (
  PurpleConversationManager* manager,
  PurpleAccount* account,
  const char* id
)

Description [src]

Looks for a registered conversation belonging to account with an id of id.

Available since: 3.0

Parameters

account

Type: PurpleAccount

The account the conversation belongs to.

The data is owned by the caller of the function.
id

Type: const char*

The identifier of the conversation.

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

Return value

Type: PurpleConversation

The PurpleConversation if found, otherwise NULL.

The data is owned by the instance.
The return value can be NULL.