Skip to content

Decide the policy regarding large messages #139

@Minoru

Description

@Minoru

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:

  1. 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 :)
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions