mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
message_reminders: Add support for notes.
This commit adds the ability for users to include notes with their message reminders. Fixes #35070. Co-Authored-By: Aman Agrawal <amanagr@zulip.com>
This commit is contained in:
@@ -653,6 +653,11 @@ OUTGOING_WEBHOOK_TIMEOUT_SECONDS = 10
|
||||
# See: `_internal_prep_message` function in zerver/actions/message_send.py.
|
||||
MAX_MESSAGE_LENGTH = 10000
|
||||
|
||||
# Maximum length of note text for a reminder.
|
||||
# NOTE: Keep it significantly smaller than MAX_MESSAGE_LENGTH
|
||||
# to avoid message being completely truncated when reminder is sent.
|
||||
MAX_REMINDER_NOTE_LENGTH = 1000
|
||||
|
||||
# The maximum number of drafts to send in the response to /register.
|
||||
# More drafts, should they exist for some crazy reason, could be
|
||||
# fetched in a separate request.
|
||||
|
Reference in New Issue
Block a user