FruitieX / teleirc

A simple Telegram ↔ IRC gateway.
MIT License
272 stars 88 forks source link

Messages for offline IRC users #184

Open jankudrik opened 7 years ago

jankudrik commented 7 years ago

Hi.

I would really love to see a new feature that would allow TG users to store messages for offline IRC users. For example Alice is on Telegram and wants to send a message to Bob who is currently offline on IRC. So she sends something like this:

/message@bot Bob Look at this cute cat! http://...

Or something like that. I don't really care about the syntax. When Bob comes online on IRC the bot relays the message from Alice to him. Probably in a query.

Mikaela commented 7 years ago

I think that this is impossible to do securely and working over all IRC networks as there is so much unstandardized.

Matrix IRC bridge has the same issue closed and WONTFIX where I talked more about the issues with this. https://github.com/matrix-org/matrix-appservice-irc/issues/348

jankudrik commented 7 years ago

@Mikaela I can see your point, but I did not expect this to be designed with security in mind. There would be no need for recipient's verification, just a simple nick match. And if somebody impersonates somebody else in order to get his messages... well, in our little community where almost nobody registers their nicknames anyway, people already accept this risk and so nobody uses it for important stuff.

Mikaela commented 7 years ago

I am labeling this as a question as I am not comfortable closing this directly without @FruitieX commenting whether they consider this as desirable or not and I don't know what label I should use so I am using the most relevant looking one.

ShalokShalom commented 7 years ago

https://wiki.swiftirc.net/wiki/Memoserv

ImTheDeveloper commented 6 years ago

Certain servers utilise memo and "notes" within their op bots. I know irc.netgamers.org utilises "P" as their bot with the option to send notes via:

/msg p note send IRCUSERNAME Message

If we wished to use this facility you would need to have the teleirc bot send the message and append/pre-pend some form of identifier the message was from e.g.

/msg p note send IRCUSERNAME Hey there get in contact with me - relayed from TeleIRC user @SomeoneHere https://telegram.me/SomeoneHere