-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
This stems from a small discussion we had in Codingteam. Key points are:
- in Matrix, it's normal to send large, multi-line messages. The protocol natively supports Markdown, and clients usually "fold" large messages, so it's pretty convenient;
- in XMPP, large messages are traditionally frowned upon. Code should be posted to pastebins.
I have a couple ideas on how to resolve this mismatch:
- when translating large messages from Matrix to XMPP (and possibly Telegram), keep the first few lines, and pack the rest into a pastebin link. As ForNeVeR points out, this requires us to run a pastebin service :)
- translate the message as-is, but send the author a private message explaining the situation and asking to keep their message lengths in check. ttldtor points out that the author might have blocked the bot, and will not see the message