Photon Chat - Playfab Auth - Player Names
My configuration is quite basic:
Photon Chat, configured with a custom Auth linked to Playfab.
I'm connecting to Chat as required with the playfabId as Chat username and token retrieved from Playfab. Everything's fine there. On Playfab side, all my users have a unique displayName.
My question / suggestion request is as follows:
What is the best/simplest way to use Playfab display names in chat.
I got one idea: quite spammy:
- first option: Use a 'hided' Channel to broadcast to everyone, with everyone automatically registered to this channel, everytime a new users logged-in, he broadcast his Nickname in a 'request' and every other player connected broadcast back their Nicknames as 'response'. So everyone can build a PlayfabId <-> Nickname match to be able to display properly the Chat with Nicknames instead of PlayfabIds.
- second option: Quite same idea, but with everyone asking Playfab the DisplayName of the newcomer Chat user.
Does this sound silly? Is there a simplest way to achieve this?