Skip to content

bug: 🐛 on ios can't save as image #155

Open

Description

@clins1994

On Beeper iOS, an image received from LINE cannot be saved as an image: the share sheet has no "Save Image" option and shows no clear format. Test it on #284 on a self-hosted bridge, which sets the image metadata that Adri11334 found missing.

Image from Instagram, via Beeper Image from LINE, via Beeper
image image

🇬🇧 More details · 1 min read

Bug Report: on iOS, images from LINE cannot be saved as images

Describe the bug

An image received from LINE in Beeper iOS cannot be saved as an image. The share sheet has no option to save it as an image, and it shows no clear format. Android is not checked yet.

To Reproduce

  1. Receive an image from LINE.
  2. Open it in Beeper.
  3. Tap Share.
  4. No "Save Image" option appears.

Expected behavior

The image can be saved as an image.

Screenshots or logs

The screenshots are at the top of the issue.

Additional context

The sender also used an iPhone, so the images were probably HEIC, the usual iPhone format.

Adri11334 found a likely cause: the bridge uploads images as image/jpeg (handlers/image.go), but unlike stickers, files and videos, the image event sets no FileInfo (MIME type, size, dimensions). That is likely why iOS treats the image as a generic attachment.

#284 sets FileInfo on received images, with the real MIME type, size and dimensions.

🤖 Generated with Claude Code using clins:github

Activity

  1. Adri11334 commented on Jun 17, 2026

    @Adri11334
    Contributor

    Had a quick look and this might just be missing matrix media metadata.

    Images are uploaded as image/jpeg

    mxc, file, err := intent.UploadMedia(ctx, portal.MXID, imgData, "image.jpg", "image/jpeg")

    but unlike stickers/files/videos, image event doesn't seem to set FileInfo (mimetype, size, dimensions). That could explain why iOS ends up seeing a generic attachment instead of an image in the share sheet.

    Maybe the fix is just to set proper FileInfo when bridging images.

  2. clins1994 commented on Oct 25, 2026

    @clins1994
    ContributorAuthor

    @Adri11334

    Hey, thanks for looking into this, and sorry for the long wait. I will help with testing over the next few weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions