Skip to content

Replies always send HTML formatted bodies #28592

@twassman

Description

@twassman

Steps to reproduce

  1. Send a message
  2. Send a plaintext reply, without any rich-text/formatting (e.g.: "Example reply")

Outcome

What did you expect?

The reply content should contain only a body with the content of the reply.

What happened instead?

The reply content also contains a formatted_body, even though no formatting is added. (e.g.:)

{
  "type": "m.room.message",
  "content": {
    "msgtype": "m.text",
    "body": "Example reply",
    "format": "org.matrix.custom.html",
    "formatted_body": "Example reply",
    "m.mentions": {},
    "m.relates_to": {
      "m.in_reply_to": {
        "event_id": "$YaXjPQGLxxBEMovOzidokXjl-gKRY0IKKovKGAZkcmo"
      }
    }
  }
}

Operating system

No response

Browser information

No response

URL for webapp

staging.element.io

Application version

Element version: 1.11.87-rc.7

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

A-ComposerA-RepliesreplyO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions