Method
PurpleConversationMembermatches
unstable since: 3.0
[−]
Declaration [src]
gboolean
purple_conversation_member_matches (
PurpleConversationMember* member,
const char* needle
)
[−]
Description [src]
Checks if a member matches a string.
This uses purple_strmatches()
to check the PurpleConversationMember:alias
and PurpleConversationMember:nickname
properties in order. If they
don’t match, the value of purple_contact_info_matches()
will be returned.
If needle
is NULL
or an empty string, TRUE
will be returned.
Available since: 3.0
[−]
Parameters
needle
-
Type:
const char*
The string to match on.
The argument can be NULL
.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.