Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image subtext not displayed #1584

Open
christoph-heiss opened this issue Feb 2, 2025 · 0 comments
Open

Image subtext not displayed #1584

christoph-heiss opened this issue Feb 2, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@christoph-heiss
Copy link

Bug Description

Hi!

At least on iOS fluffychat 1.23.0, any text part of a message event which also contains a file/image, the text is not displayed.

While Element nor fluffychat allow you to create such events, using bridges such like mautrix-signal they can be easily encountered.

For reference, the Element web app handles them correctly and does indeed display both the image and text.

Steps to Reproduce

Using mautrix-signal:

  1. Go to the "Note to Self" chat on the Signal mobile/desktop app
  2. Send an image with text directly attached.
  3. Check the message on fluffychat, which will not have the text display

Not sure how to reproduce it without a bridge.

Expected Behavior

That both the text and the image are displayed for such an event.

App Version

1.23.0

Additional Platform Information

iOS (iPhone 12 Pro)

Additional Context

The decrypted, raw content of such a message:

{
  "content": {
    "body": "foo bar",
    "fi.mau.double_puppet_source": "mautrix-signal",
    "fi.mau.double_puppet_ts": 0,
    "file": {
      "hashes": {
        "sha256": "xxx"
      },
      "iv": "xxx",
      "key": {
        "alg": "A256CTR",
        "ext": true,
        "k": "xxx",
        "key_ops": [
          "encrypt",
          "decrypt"
        ],
        "kty": "oct"
      },
      "url": "mxc://y.z/xxx",
      "v": "v2"
    },
    "filename": "test.jpeg",
    "info": {
      "blurhash": "xxx",
      "h": 1600,
      "mimetype": "image/jpeg",
      "size": 195573,
      "w": 900,
      "xyz.amorgan.blurhash": "xxx"
    },
    "m.mentions": {},
    "msgtype": "m.image"
  },
  "event_id": "xxx",
  "origin_server_ts": 0,
  "room_id": "!x:y.z",
  "sender": "@w:y.z",
  "type": "m.room.message",
  "unsigned": {}
}

Where foo bar would be the text attached to the image.

@christoph-heiss christoph-heiss added the bug Something isn't working label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant