FruitieX / teleirc

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

Optionally give IRC users Telegram links for stickers and files. #256

Open Mikaela opened 6 years ago

Mikaela commented 6 years ago

This is what the other TeleIRC does:

We actually just got support for pictures last week, thanks to @xforever1313. For now, it just uses the Telegram API, but we had someone who is working on getting them uploaded to Imgur instead, since the Telegram links only last an hour.
Plus, their content type is as a binary file, so that's why Firefox downloads them.
Telegram doesn't distinguish any files or pictures by their files, just ships them off to be handled as binary files.
Telegram doesn't distinguish any files or pictures by their files, just ships them off to be handled as binary files.

~~ @jflory https://t.me/teleirc/1055

Typing this I actually think that that TeleIRC only sends the emoji (UTF-8 character) that the sticker is associated with.

I would like this TeleIRC to have that behaviour too as I am worrying about the GDPR compliance of TeleIRC and wish it to store as little data as possible which I have currently interpreted to be the error log.

Mikaela commented 6 years ago

I think https://github.com/RITlug/teleirc/pull/38/files is how they are doing it.

Mikaela commented 6 years ago

Alternatively in public supergroups it would be nice to have https://t.me/teleirc/123 link shown to IRC as it would also work in the future and break if the original message was removed.

(Random example, I am aware it links to group of the other TeleIRC.)