progval / Supybot-plugins

Collection of plugins for Supybot/Limnoria I wrote or forked.
https://github.com/ProgVal/Limnoria/
107 stars 63 forks source link

LinkRelay doesn't relay NOTICEs #317

Closed Mikaela closed 7 years ago

Mikaela commented 7 years ago

I have configured my Limnoria instance to use NOTICE instead of PRIVMSG in the spirit of the RFC and Matrix bots do so too as matrix-appservice-irc turns Matrix m.notice into NOTICE.

The issue comes in when one side of the relay issues a command, e.g. ping as the other side(s) don't receive the pong response. Same when some of the Matrix bots says something, they don't appear on the other sides of the relay.

Network1 (WeeChat with parse_relayed_msg.pl):

2017-08-09 09:39:41+0300 <#-M1kaela> __ping
2017-08-09 09:39:42+0300 Euforia (Notice) pong
2017-08-09 09:39:57+0300 <#Mıkaela-> __ping

Network2 (HexChat, ]o[ is the LinkRelay, T4 is a TeleIRC):

<]o[> <T4> <-M1kaela> __ping
<Mikaela-> __ping
-]o[/#Mikaela- pong

How TeleIRC handles this towards Telegram is just sending NOTICEs just like they were PRIVMSGs. I don't know how they should be handled on IRC-IRC relay.