How are we supposed to keep track of conversation participants?

The UUIDs of participants in a conversation vary depending on whether they are local or remote. Example:


Two users are participating in a conversation.

User A has a local UUID of BEA6BD51-0688-413F-9975-9C303E934CF4.

User B has a local UUID of 0F9E2C52-355E-4532-9932-8808C2F6D677.

On User A's device User B is identified by a UUID 508E6DA6-4CE6-4C72-9DF9-F19B65B2AE69.

On User B's device User A is identified by a UUID 7C18026A-21E6-457E-8F92-B20E209E6BC7.


How is my server-side code supposed to identify who's talking to whom? Why are the UUIDs different accross devices?


Any thoughts?


Thanks!

Chris

Replies

I guess this is privacy issue. Best I could figure out is to have the clients identify themselves to each other in the iMessage payload. Unfortunately, you don't know who you are talking to until you get an iMessage from them. Also, make sure you account for possibility of forgery.