42wim / matterbridge

bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Apache License 2.0
6.65k stars 618 forks source link

Newlines get lost when Telegram is bridged to other platforms. #1262

Open Avamander opened 4 years ago

Avamander commented 4 years ago

Describe the bug The bridge "eats" newlines when message is sent from Telegram to other platforms. This breaks markdown in cases like TG to Matrix or from TG to Discord.

To Reproduce Just send this:

> quote

blah

Expected behavior This appears on Matrix or Discord:

> quote

blah

Actual behavior This appears on Matrix or Discord:

> quote blah
liqsliu commented 3 years ago

https://github.com/42wim/matterbridge/issues/1561