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/text mixed message only renders text #7561

Closed
SuperKenVery opened this issue May 28, 2023 · 1 comment
Closed

Image/text mixed message only renders text #7561

SuperKenVery opened this issue May 28, 2023 · 1 comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@SuperKenVery
Copy link
Contributor

Steps to reproduce

source:

{
  "sender" : "@_qq_1832783120:pi.tail32664.ts.net",
  "content" : {
    "body" : "![image\/png](mxc:\/\/pi.tail32664.ts.net\/BuEBFPgicUFMsTwWIyybMWhT)甚至挺完善的",
    "format" : "org.matrix.custom.html",
    "formatted_body" : "<img src=\"mxc:\/\/pi.tail32664.ts.net\/BuEBFPgicUFMsTwWIyybMWhT\" alt=\"image\/png\">甚至挺完善的",
    "msgtype" : "m.text"
  },
  "origin_server_ts" : 1685265446000,
  "room_id" : "!uTyoLRPwuIwVmkFXQs:pi.tail32664.ts.net",
  "event_id" : "$4H3zyXaQSPtOzrIZmg7vLENyDR0rPaylyeqObxYqhH0",
  "unsigned" : {
    "age" : 10485622
  },
  "type" : "m.room.message"
}

Outcome

What did you expect?

The image displays, like on element-web
image

What happened instead?

Only the text was rendered:
image

Your phone model

iPad Air 5

Operating system version

iPadOS 16.2

Application version

Element 1.10.12

Homeserver

{"server_version":"1.83.0","python_version":"3.11.3"}

Will you send logs?

No

@SuperKenVery SuperKenVery added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label May 28, 2023
@SuperKenVery SuperKenVery changed the title Imge/text mixed message only renders text Image/text mixed message only renders text May 28, 2023
@pixlwave
Copy link
Member

Duplicate of #1641

@pixlwave pixlwave marked this as a duplicate of #1641 May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

No branches or pull requests

2 participants