matrix-org / matrix-appservice-irc

Node.js IRC bridge for Matrix
Apache License 2.0
462 stars 151 forks source link

Replying to emotes always quotes the emote (with a weird syntax) #1602

Open progval opened 2 years ago

progval commented 2 years ago

Describe the bug When reply to an emote on the Matrix side, the puppet always repeats the original message to IRC; both when the emote was sent from IRC or from Matrix

To Reproduce

  1. Send /me tests on IRC or Matrix
  2. Reply to it

IRC users see this:

14:08:48  * val tests
14:09:20 <val-m> > * <@val:libera.chat> tests
14:09:20 <val-m> hello

or

14:09:41  * val-m tests again
14:10:00 <val-m> > * <@pinkie:matrix.org> tests again
14:10:00 <val-m> hello again

Expected behavior

14:08:48  * val tests
14:09:20 <val-m> val: hello

or

14:09:41  * val-m tests again
14:10:00 <val-m> val-m: hello again

respectively