Skip to content

Make maximum message length configurable (currently hardcoded to 32000) #18823

Description

@GMAILPRO777

Tip

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Which Nextcloud Version are you currently using:
34.0.2

Is your feature request related to a problem? Please describe.
Currently, Nextcloud Talk has a hardcoded limit of 32,000 characters per message. When trying to share large logs, long text notes, or code snippets, the mobile and desktop clients fail with a "character limit reached". This limit is too restrictive for advanced users and sysadmins who use Talk as a primary tool for work and technical discussions.

Describe the solution you'd like
It would be great to move this limit from a hardcoded internal constant to a configurable variable. Ideally, admins should be able to adjust this threshold (e.g., apps/spreed/message_limit) in config.php or change it directly through the Talk settings panel in the admin UI.

Describe alternatives you've considered
Sharing .txt or .md files is a possible alternative, but it significantly slows down quick text-based debugging and discussions in group chats.

Additional context
This configuration option will help administrators balance server database load according to their organization's specific needs without breaking updates.
frustrated when …”

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions