Skip to content

Slash commands mess up editing replies #21928

Closed
matrix-org/matrix-react-sdk
#8418
@twouters

Description

@twouters

Steps to reproduce

  1. send a message to a room
  2. trigger a reply to the message
  3. type /shrug command in message composer
  4. send message
  5. edit the reply

What did you expect?

I expected that slash commands behave like regular replies, so the original message should be visible in the editing dialog, but not editable.

What happened instead?

The original message is included as a literal quoted message when editing the reply

Operating system

Arch Linux

Browser information

any browser version / element desktop app

URL for webapp

development.element.io

Application version

1.10.10, 2ffb3a1-react-ba624c8ef281-js-3649cf46d343

Homeserver

synapse 1.51.0

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

A-ComposerA-Slash-CommandsO-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