Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[Feature] User avatars from external source #7743
We have internal service for employee images and in that service we have API for fetching user image.
We would like to be able to set user avatar as URL to that service so that avatar is not downloaded into Rocket.Chat configured storage.
Rocket.Chat for user avatar provides
Like sync.js store avatar, it could be the same to avoid performance issues when loading the image. e.g.:
@phlbrz As long as the URL returns image binary as payload and correct
Also regarding storing avatar locally, I would like for that to be an option that admin can choose, as for our use case this is not applicable because users can change their image at any time in image service and we want that image to propagate to every external service that use image (Rocket.Chat, GitLab, other internal apps).
Currently we achieve this by implementing custom logic on image service to call Rocket.Chat REST API