Virtual Method

PurpleProtocolConversationrefresh_async

unstable since: 3.0

Declaration [src]

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

Description [src]

Asks the protocol to refresh a conversation.

A conversation could need to be refreshed for any number of reasons, but the primary case is to help restore conversations when the user interfaces starts up.

This allows the user interface to recreate a conversation and then have the protocol do whatever is necessary to bring the conversation back in sync and online.

Available since: 3.0

Parameters

conversation

Type: PurpleConversation

The conversation.

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

Type: GCancellable

An optional cancellable.

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

Type: GAsyncReadyCallback

The callback.

data

Type: gpointer

The optional user data to pass to the callback.

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