Method

PurpleConversationhas_member

since: 3.0

Declaration [src]

gboolean
purple_conversation_has_member (
  PurpleConversation* conversation,
  PurpleContactInfo* info,
  guint* position
)

Description [src]

Checks if info is in conversation. If info is found, position is set to the position of info in PurpleConversation:members if it is not NULL.

Available since: 3.0

Parameters

info

Type: PurpleContactInfo

The PurpleContactInfo to look for.

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

Type: guint*

A return address for the position of the member in the collection.

The argument will be set by the function.
The argument can be NULL.

Return value

Type: gboolean

TRUE if info is in conversation otherwise FALSE.