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

Replies cause unintended highlights #442

Open
pacien opened this issue Mar 21, 2020 · 1 comment
Open

Replies cause unintended highlights #442

pacien opened this issue Mar 21, 2020 · 1 comment

Comments

@pacien
Copy link
Contributor

pacien commented Mar 21, 2020

The message body field of reply messages contains the MXID of the original author, which triggers unintended mentions (https://github.com/matrix-org/matrix-doc/issues/2319).

As a temporary workaround until this gets fixed on Matrix's side, it could be nice to have an option to use the user's display name instead of their MXID, maybe by making the plaintext body format customisable.

i.e. making this possible

{
  "content": {
    "body": "> <Display name> message"
  }
}

instead of

{
  "content": {
    "body": "> <@username:domain> message"
  }
}
@pacien
Copy link
Contributor Author

pacien commented Mar 22, 2020

Apparently mautrix-telegram is already using display names but only for replies to messages from other Telegram users. Replies to messages from Matrix users contain the MXID instead of the display name.

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

No branches or pull requests

1 participant