element-web: `Insert from iPhone/iPad` doesn't work.

Steps to reproduce

Under macOS, in the text edit box,

  1. right click (ctrl-click or two-finger) and select Insert from iPhone or iPad
  2. Choose Take a photo (other ones not tested but should be the same)
  3. Take a photo on iPhone (or iPad)
  4. The photo does not gets sent.

Outcome

What did you expect?

The picture gets sent or I get a prompt like that I get when pasting a picture

What happened instead?

Nothing.

Operating system

macOS 13.3.1

Browser information

Safari 16.4 (18615.1.26.110.1)

URL for webapp

app.element.io

Application version

Element version: 1.11.30 Olm version: 3.2.12

Homeserver

pi.tail32664.ts.net Synapse from docker sha256:8d4aedabc178e248d707e660a062825ec598a1774ccbf2ca62cc4763a08bde83

Will you send logs?

Yes

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 20 (20 by maintainers)

Commits related to this issue

Most upvoted comments

Contributions welcome, though it wouldn’t be the most trivial thing given it gives it in an unspecced img tag format with a blob src which you’d need to download & re-upload to Matrix

Feel free to use my PR as a basis, it’d be fine to just handle Safari usecases as long as it is well written enough to not break on more exotic attempts