Method

PurpleContactis_own_account

unstable since: 3.0

Declaration [src]

gboolean
purple_contact_is_own_account (
  PurpleContact* contact
)

Description [src]

Checks if contact is for the contact info of the account that it is tied to.

This is just a helper around calling purple_contact_info_equal() with the contact and purple_account_get_contact_info() from the account for this contact.

Available since: 3.0

Return value

Type: gboolean

True if this contact is for the account it belongs to.