3.1.7.10.5 Receive a Presence Record

If the record contained in the FLOOD message is a Presence Record that has its Deleted flag set and an entry with the same record ID is present in the Presence List, it MUST be removed from the Presence List.

If it is a Presence Record that does not have its Deleted flag set and an entry with the same record ID is not present in the Presence List, the following data from the record MUST be added to the Presence List:

  • Record ID

  • Peer ID

  • Node ID

  • List of Addresses

If it is a Presence Record that does not have its Deleted flag set and an entry with the same record ID is present in the Presence List, the data from the record MUST be used to replace the corresponding data in the Presence List.