Method

PurpleChatConversationhas_user

since: 3.0

Declaration [src]

gboolean
purple_chat_conversation_has_user (
  PurpleChatConversation* chat,
  const gchar* user
)

Description [src]

Checks if a user is in a chat.

Available since: 3.0

Parameters

user

Type: const gchar*

The user to look for.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if the user is in the chat, FALSE if not.