pusher / chatkit-server-node

Node.js SDK for Pusher Chatkit
https://pusher.com/chatkit
MIT License
16 stars 9 forks source link

setting avatarURL on createUser does not seem to work #20

Closed nbransby closed 6 years ago

nbransby commented 6 years ago

no avatar is returned when getting the users or shown on the chatkit instance inspector

hamchapman commented 6 years ago

I just tested with the latest version and creating a user with an avatarURL property does successfully set the property. It is also then returned as part of the response when calling getUsersByIds when you provide the ID of the created user who had an avatarURL set.

The avatarURL not being shown in the inspect is something that we could potentially add, but is not related to this SDK - thanks for the feedback!

Which version of the SDK are you using?

nbransby commented 6 years ago

ah yes, i just tried it myself and it works too. I assumed in was the server end as wasnt appearing on the instance inspector but it would appear to be the client end - avatarURL comes back as null from com.pusher:chatkit-core:0.2.4 (android)

hamchapman commented 6 years ago

Ah okay, that does seem to be a bug with the Android SDK. I've created an item for us to fix it so look out for a new release of the Android SDK relatively soon. Thanks for the report!

nbransby commented 6 years ago

Hope can fix the other issues I have listed there :)