Method

PurpleConversationManagerfind_with_id

unstable since: 3.0

Declaration [src]

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

Description [src]

Looks for a 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 method.
id

Type: const char*

The identifier of the conversation.

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

Return value

Type: PurpleConversation

The PurpleConversation if found, otherwise NULL.

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