Function

Purpleblist_add_chat

since: 2.0

Declaration [src]

void
purple_blist_add_chat (
  PurpleChat* chat,
  PurpleGroup* group,
  PurpleBlistNode* node
)

Description [src]

Adds a new chat to the buddy list.

The chat will be inserted right after node or appended to the end of group if node is NULL. If both are NULL, the buddy will be added to the “Chats” group.

Available since: 2.0

Parameters

chat

Type: PurpleChat

The new chat who gets added.

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

Type: PurpleGroup

The group to add the new chat to.

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

Type: PurpleBlistNode

The insertion point.

The data is owned by the caller of the function.