Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
doc: Path not provided for "check_message" and "do_send_message".
Sourabh8d3f3952cd5c
diff --git a/docs/subsystems/sending-messages.md b/docs/subsystems/sending-messages.mdindex 7c50caea982..d292ecf3713 100644--- a/docs/subsystems/sending-messages.md+++ b/docs/subsystems/sending-messages.md@@ -70,12 +70,12 @@ number of purposes:`apply_markdown` and `client_gravatar` features in our[events API docs](https://zulip.com/api/register-queue)).* Following our standard naming convention, input validation is done- inside the `check_message` function, which is responsible for+ inside the `check_message` function in `zerver/lib/actions.py`, which is responsible forvalidating the user can send to the recipient,[rendering the Markdown](../subsystems/markdown.md), etc. --basically everything that can fail due to bad user input.* The core `do_send_messages` function (which handles actually sending- the message) is one of the most optimized and thus complex parts of+ the message) in `zerver/lib/actions.py` is one of the most optimized and thus complex parts ofthe system. But in short, its job is to atomically do a few keythings:* Store a `Message` row in the database.