Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[NEW] Avatars aren't loaded if unauthenticated access to avatars is disabled. #2540
Comments
|
@rafaelks this works for users but not channel icons (same problem, same endpoint as far as I know) in the latest dev build, so it's not fully fixed |
|
@davidlougheed True, it needs to be fixed for channels as well |
|
@davidlougheed Fixed here: #2620 |
The server provides a setting to disable unauthenticated access to avatars. If this is enabled, avatars are not loaded by the iOS app (see RocketChat/Rocket.Chat.ReactNative#603 and RocketChat/Rocket.Chat.Android#1749 )
I'm working on a fix for the React Native client (see RocketChat/Rocket.Chat.ReactNative#604 ) but it would be nice to see the same fixes in the other apps.
To fix this, pass
rc_tokenandrc_uidas URL params when fetching the avatar via URL.