Virtual Method

PurpleProtocolConversationleave_conversation_async

unstable since: 3.0

Declaration [src]

void
leave_conversation_async (
  PurpleProtocolConversation* protocol,
  PurpleConversation* conversation,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Attempts to leave conversation.

This needs to support all conversation types that protocol supports.

Call purple_protocol_conversation_leave_conversation_finish() from callback to determine whether or not leaving was successful.

Available since: 3.0

Parameters

conversation

Type: PurpleConversation

The conversation to leave.

The data is owned by the caller of the method.
cancellable

Type: GCancellable

Optional GCancellable object, NULL to ignore.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

The callback to call after the conversation has been created.

data

Type: gpointer

Optional user data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the method.