Your Rocket.Chat version: 0.26.0
When using S3 as file storage service, the protocol should be striped out before using it for a folder name. Currently I'm getting this when retrieving a resource inside a channel:
https://corporativeapp-testchatbucket.s3.amazonaws.com/https://testchat.corporativeapp.com/Dv...
and it should be:
https://corporativeapp-testchatbucket.s3.amazonaws.com/testchat.corporativeapp.com/Dv...
In above example "testchat.corporativeapp.com" is the folder name in the S3 bucket. This is not preventing the resource to be rendered, but it makes the URL looks wrong.