Method

PurpleConversationManagerfind_dm

since: 3.0

Declaration [src]

PurpleConversation*
purple_conversation_manager_find_dm (
  PurpleConversationManager* manager,
  PurpleContact* contact
)

Description [src]

Looks for a direct message with contact and returns it if found.

Available since: 3.0

Parameters

contact

Type: PurpleContact

The contact.

The data is owned by the caller of the function.

Return value

Type: PurpleConversation

The conversation if found, otherwise NULL.

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