I noticed that when using JoinChatAsync the id passed in the call and the id that the chat channel created comes out with are different.
This is happening both in Nakama 3.2.0 and 3.4.1 in Unity.
Is there a reason this is the case?
The identifier you pass on the JoinChatAsync is the name for the chat and not the id that it will have. Assuming that you are invoking the function with
ChannelType.Room , otherwise I will need more information about what you are trying to accomplish to be able to help you.
For more details about the inner workings of the Chat concept, there is the following page.