Method

PurpleCreateConversationDetailsis_valid

unstable since: 3.0

Declaration [src]

gboolean
purple_create_conversation_details_is_valid (
  PurpleCreateConversationDetails* details
  GError** error
)

Description [src]

Checks if a create conversation details is valid or not.

This verifies that there is at least one participant and that the number of participants is not greater than PurpleCreateConversationDetails:max-participants.

This may do additional checks in the future.

Available since: 3.0

Return value

Type: gboolean

True if the details are valid; otherwise false with error possibly set.