Description
The behavior of embedded link previews is not the same between the regular browser client and the official mobile (Android/iPhone) client. What I’m seeing is that when I paste a directly-linked image (ending in .jpg or similar), the desktop client will display a preview for it properly. In the mobile client, there will be no preview shown.
The Autolinker function is similarly inconsistent, and changing the Regex field doesn’t seem to have any effect. A good example is direct links for https://i.redd.it images. These are hyperlinked and previewed properly on the desktop client, no issues there. However, on the mobile client these links are NOT hyperlinked and no preview is shown. I’ve tried editing the RegEx field in Settings to account for i.redd.it links, nothing I do seems to make a difference. I’ve tried restarting the RocketChat instance after changing it, no difference.
SOME links do get a preview properly in the mobile client, but not direct image links. If I link http://dilbert.com, for example, that gets a preview in the mobile client just fine. YouTube videos get an embed preview as well.
Server Setup Information
- Version of Rocket.Chat Server: 4.8.3
- Operating System: Ubuntu
- Deployment Method: Snap
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v14.18.3
- MongoDB Version: 4.2.17 / wiredTiger (oplog Enabled)
- Proxy: caddy (snap version, auto SSL)
- Firewalls involved: Firewalla Gold