element-ios icon indicating copy to clipboard operation
element-ios copied to clipboard

Link preview in encrypted rooms (get par with the Web/Desktop experience)

Open jacotec opened this issue 1 year ago • 1 comments

Steps to reproduce

  1. Post a link into an encrypted DM or room
  2. In Element Web and Desktop, a Link Preview is generated
  3. No link preview at all in Element-IOS

Outcome

What did you expect?

The user should have the same experience regardless if he's on mobile or on his notebook/PC using Element-Web or -Desktop. Missing Link previews is basically a pain and not like a modern messenger should behave.

I have the argument in my mind "the server is generating the preview and can't inject it into the chat due to the active E2EE". But Web and Desktop can, I suppose the preview is generated locally by the app.

Element-IOS should do the same. This will also not be a security issue as the creation happens fully locally and does not expose any details of the chat itself to the outside.

What happened instead?

Element-IOS does not show any link preview in encrypted rooms or DM chats.

Your phone model

iPhone 14 Pro Max

Operating system version

IOS 16.5

Application version

Element 1.10.13

Homeserver

Synapse 1.85.2

Will you send logs?

No

jacotec avatar Jun 14 '23 13:06 jacotec