Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
uploads: Rewrite comment in do_claim_attachments to improve clarity.
bjorn3762c9667a70c
diff --git a/zerver/actions/uploads.py b/zerver/actions/uploads.pyindex 04eb00f46e1..075d7b16a06 100644--- a/zerver/actions/uploads.py+++ b/zerver/actions/uploads.py@@ -43,8 +43,8 @@ def do_claim_attachments(if not validate_attachment_request(user_profile, path_id):# Technically, there are 2 cases here:# * The user put something in their message that has the form- # of an upload, but corresponds to a file that doesn't exist.- # validate_attachment_request will return None.+ # of an upload URL, but does not actually correspond to a previously+ # uploaded file. validate_attachment_request will return None.# * The user is trying to send a link to a file they don't have permission to# access themselves. validate_attachment_request will return False.#