Method

PurpleConversationMembersfind_first_other

unstable since: 3.0

Declaration [src]

PurpleConversationMember*
purple_conversation_members_find_first_other (
  PurpleConversationMembers* members,
  PurpleContactInfo* info
)

Description [src]

Finds the first member that doesn’t match the given info.

This is useful to find the other party in a direct message.

Available since: 3.0

Parameters

info

Type: PurpleContactInfo

A contact info to not match.

The data is owned by the caller of the method.

Return value

Type: PurpleConversationMember

The first non matching member if one exists.

The returned data is owned by the instance.
The return value can be NULL.