Difference between plainProfileUrl and profileUrl?

What is the difference between the fields plainProfileUrl and profileUrl, both on the currentUser object? Is there anywhere in the documentation that notes this discrepancy? When are both defined? When are neither defined? When are they either / or defined?

Hey @fullStackChris,

The difference between the two is that plainProfileUrl is a profile_url without authentication, and profileUrl would be the profile_url with the necessary authentication (if enabled). Essentially, profileUrl is the plainProfileUrl + the ekey that can be found on the SendBird instance after a connection has been made

1 Like

Hi @Tyler ,

Pefect! Thank you!