-
Notifications
You must be signed in to change notification settings - Fork 10.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retrieving avatar for the native iOS app #1999
Comments
For legacy reasons we added a Right now.. its like this: And for an unknown image, the server will create a SVG on the fly: |
Hey! I m trying to get the avatars for the native iOS app. I see that the web app gets the username's url from the server and it sets the image by using that url. I m trying to implement this in the native app but it doesn't seem to work. I am a little bit confused so if someone could clear this up for me...
When I hit the url "https://demo[dot]rocket.chat/avatar/username" what actually happens? Does the server create a file and returns it? What format? SVG, PNG, JPG???
I guess this will be needed for the android app as well? Maybe if there would be a meteor method where we could retrieve each user's avatar? Is this doable?
Sorry for my noobness and thanks in advance.... 😃
The text was updated successfully, but these errors were encountered: