Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RELAYMSG support when supported by the IRCd #373

Open
Mikaela opened this issue May 28, 2021 · 0 comments
Open

RELAYMSG support when supported by the IRCd #373

Mikaela opened this issue May 28, 2021 · 0 comments
Labels
needs triage Metadata needs to be triaged and updated new change Adds new capabilities or functionality

Comments

@Mikaela
Copy link

Mikaela commented May 28, 2021

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 nickname teleirc instead of telegramuser.

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 using PRIVMSG #ircchannel :<telegramuser> message from Telegram into RELAYMSG #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 🎉

@Mikaela Mikaela added needs triage Metadata needs to be triaged and updated new change Adds new capabilities or functionality labels May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Metadata needs to be triaged and updated new change Adds new capabilities or functionality
Projects
None yet
Development

No branches or pull requests

1 participant