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

Message edits break formatting in matrix #1571

Closed
AgathaSorceress opened this issue Aug 20, 2021 · 1 comment · Fixed by #1716
Closed

Message edits break formatting in matrix #1571

AgathaSorceress opened this issue Aug 20, 2021 · 1 comment · Fixed by #1716

Comments

@AgathaSorceress
Copy link

Describe the bug
When a message sent from another chat is edited, the relayed message loses all html tags. Happens both with EditSuffix enabled and disabled. Doesn't seem to create any errors/warnings in the log.

To Reproduce
Steps to reproduce the behavior:

  1. Bridge from discord to matrix (though, I assume it happens when any other chat is bridged to matrix too).
  2. Have matrix RemoteNickFormat set to something like:
     RemoteNickFormat="<font color=\"#4f3e56\">{PROTOCOL}</font> • <b><font color=\"#c293d6\">{NICK}</font></b> » "
  3. Send a message and then edit it.
  4. Check the matrix side and see the message without formatting.

Expected behavior
The matrix message formatting should stay the same as it was originally.

Screenshots/debug logs
chat screenshot

Environment (please complete the following information):

  • OS: Archlinux, 5.13.4-arch1-1
  • Matterbridge version: 1.22.3

Additional context
Configuration file

@42wim
Copy link
Owner

42wim commented Feb 6, 2022

Fixed in master

@42wim 42wim closed this as completed Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants