RELAYMSG support when supported by the IRCd #373
Labels
needs triage
Metadata needs to be triaged and updated
new change
Adds new capabilities or functionality
Summary
ircv3/ircv3-specifications#417 as implemented by Ergo IRCd and an InspIRCd module would allow more native (and prettier) feel for Telegram users when they are relayed to IRC.
Background
Currently messages from Telegram users appear like
<teleirc> <telegramuser> hello world, this is a message from Telegram
, this isn't very pleasing and at times confuses people who then start speaking to nicknameteleirc
instead oftelegramuser
.Describe the solution you'd like:
Supporting RELAYMSG would instead make Telegram users look something like
<telegramuser/tg> hello world, this is a message from Telegram
with their only differences to IRC user being the/
and not appearing in the channel user list.Describe alternatives you've considered:
One method would be making ghost users matching all Telegram users, but this would take resources to manage all the IRC connections, hit connection limits of IRC server very quickly and annoy the IRC network operators.
Details
In practice I think TeleIRC should look at capabilities provided by the IRC network during capability negotiation and if it sees
draft/relaymsg=/
(where/
is a sign required to separate RELAYMSG'd users from real IRC users), it should switch from usingPRIVMSG #ircchannel :<telegramuser> message from Telegram
intoRELAYMSG #ircchannel telegramuser/tg :message from Telegram
(where the/
was seen during capability negotiation).RELAYMSG also requires that the bot has channel op
mode +o
to help prevent abuse.Outcome
Telegram users look nicer to IRC users making modern IRC is more friendly towards everyone unused to seeing relaybots 🎉
The text was updated successfully, but these errors were encountered: