Contact

This entity represents a contact state with another person.

When blocking is true, following and sharing need to be false (and the other way around).

Properties

Property Type Description
author diaspora* ID The diaspora* ID of the sender of the contact.
recipient diaspora* ID The diaspora* ID of the recipient.
following Boolean true if the author is following the recipient.
sharing Boolean true if the author is sharing with the recipient.

Optional Properties

Property Type Description
blocking Boolean true if the author is blocking the recipient.

Example

<contact>
  <author>alice@example.org</author>
  <recipient>bob@example.com</recipient>
  <following>true</following>
  <sharing>true</sharing>
  <blocking>false</blocking>
</contact>