FruitieX / teleirc

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

Telegram codeblocks should go into pastebin and teleirc might take care of it like images or stickers #249

Open uduntuntu opened 6 years ago

uduntuntu commented 6 years ago

Telegram codeblocks

preformatted multilined text

should be managed like stickers or images in telegram and show to irc only a pastebin address for codeblock (or individual adress for each of codeblocks in message).

mxa commented 6 years ago

Actually this affects any Telegram message which spans multiple lines (has carriage returns/newlines). They don't look pretty on IRC and IRC users get very angry for violating their chat window .

Mikaela commented 6 years ago

I think the difference is that code blocks are expected to be pasted somewhere or something to be done with them while the rest is just talk.

Mikaela commented 6 years ago

@mxa Which TeleIRC are you using? You are referencing this issue from the RITlug one, while we have option to replace line changes with another character for sending to IRC while last time I heard RITlug was very floody.

By default the character is <compose + ...>.

mxa commented 6 years ago

wow sorry, just realized the two projects are entirely different node.js implementations od the same thing with the same name.

Mikaela commented 6 years ago

Some differences may be in backlogs of the groups and this TeleIRC is older and @ritlug never Googled if anything called as TeleIRC already existed and maybe does the same thing.

More confusion is that #teleirc at freenode is us, while https://t.me/teleirc is ritlug.