element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.23k stars 2k forks source link

HTML export of E2EE conversation doesn't include edited messages #20255

Open notramo opened 2 years ago

notramo commented 2 years ago

Steps to reproduce

  1. send a message
  2. edit that message
  3. export the conversation in HTML
  4. view the result: the edited version is not included

Outcome

What did you expect?

Able to see the latest edited version in the exported HTML, with option to view edit history. Just like in Element Web UI.

What happened instead?

Can't find edits anywhere in the exported HTML.

Operating system

Linux

Application version

1.9.7

How did you install the app?

package manager

Homeserver

any

Will you send logs?

No

t3chguy commented 2 years ago

Cannot reproduce

image

notramo commented 2 years ago

Is it from Element Web or Desktop? It maybe depends on max. file size, or exported timespan, or whether attachments are included.

t3chguy commented 2 years ago

This was from Element Web, but its identical to Element Desktop given Element Desktop is just an Electron wrapper around Element Web with some native extensions.

notramo commented 2 years ago

Have you tried it in encrypted room?

notramo commented 2 years ago

It's working in unencrypted rooms, but the edits don't show up in exported E2EE conversations.

aaronraimist commented 2 years ago

I can reproduce. Edits do not appear in exports of encrypted rooms. Edits work properly in unencrypted rooms.