element-hq / element-hq/element-ios

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

Open
#7,599 1 comment 6 reactions 0 assignees View on GitHub
T-Enhancement X-Needs-Design X-Needs-Product
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.