Method

PurpleChannelJoinDetailsmerge

since: 3.0

Declaration [src]

void
purple_channel_join_details_merge (
  PurpleChannelJoinDetails* source,
  PurpleChannelJoinDetails* destination
)

Description [src]

Copies the values of PurpleChannelJoinDetails:name, PurpleChannelJoinDetails:nickname, and PurpleChannelJoinDetails:password from source to destination.

This function is intended to be used in the join channel dialog when the user switches accounts and the user interface needs to ask the protocol for its default PurpleChannelJoinDetails so that any input from the user can be maintained.

Available since: 3.0

Parameters

destination

Type: PurpleChannelJoinDetails

The instance to copy to.

The data is owned by the caller of the function.