[sip-comm-dev] SIP presence event question



I'm going to implement avatars for SIP contacts. Avatar comes in SIP
presence event (in <tuple> or <person> node).
It is possible to have several <tuple> and <person> elements for the same
contact. Which tuple or person element is the main in that case?
I've noticed that SIP Communicator has already logic for it (for the contact
statuses - "Online", "Away" and so on).
It is situated in OperationSetPresenceSipImpl.setPidfPresenceStatus.

Can someone tell me about it in more details? (I know that the code is the
best documentation :slight_smile: but I'm a lit bit confused with this method).

Thanks, Grigorii