Closed zouppen closed 4 years ago
IRC bridge bug, overly sensitive reply fallback removal. It parses replies like they're supposed to be sent rather than the way the spec tells you to parse them. Not sure if I made an issue, but I'm pretty sure I've complained about it
https://github.com/matrix-org/matrix-appservice-irc/blob/develop/src/bridge/MatrixHandler.ts#L1100
The issue seems to be in m.in_reply_to
. When I generate otherwise identical Matrix message, it is propagated to IRC.
Removed this part and it propagates:
"m.in_reply_to": {
"event_id": "$15760700702709kXicd:hacklab.fi"
}
The problem is in the fallback, specifically <Zouppen>
instead of <@_telegram_...:hacklab.fi>
Steps to reproduce:
This might be matrix-appservice-irc bug but the message content is somehow "hostile" so I'm filing this bug in this project first because replies to Telegram messages made in Matrix side do propagate correctly. Maybe
m_relates_to
content is somehow malformed?Example message payload which is not propagating correctly:
For comparison, this is the payload of a message which is a reply to the same Telegram message but the reply is made from Matrix by Riot.im. It propagates to IRC correctly: