https://bugs.kde.org/show_bug.cgi?id=458993

            Bug ID: 458993
           Summary: NeoChat not showing custom emoji text in inline code
           Product: NeoChat
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: fe...@posteo.de
          Reporter: janbidle...@protonmail.com
                CC: c...@carlschwan.eu
  Target Milestone: ---

SUMMARY
If you send the name of a custom emoji text in inline code, NeoChat won't
display it properly and seems to still try to send a custom emoji, rather than
just sending it as text


STEPS TO REPRODUCE
1. Create a custom emoji (I choose "frogge" as a name, picture is irrelevant)
2. Open a room, and send the custom emoji name in inline code (so QUOTE
`:frogge:` UNQUOTE)

OBSERVED RESULT
NeoChat shows an empty message, and looking at the json source, it tries to
send the custom emoji inside the codeblock (
`formatted_body": "<code<img data-mx-emoticon=\"\"
src=\"mxc://matrix.org/TjfamcAphPtMsVoqyUIghhHV\" alt=\":frogge:\"
title=\":frogge:\" height=\"32\" vertical-align=\"middle\" /></code>"`)

EXPECTED RESULT
NeoChat should show the name of the emoji in the inline code blocks, and the
json source should be the emoji name, rather than the full custom emoji (so
show QUOTE `:frogge:` UNQUOTE with `"formatted_body": "<code>:frogge:</code>"`)

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
NeoChat: self compiled flatpak

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to