Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
import_realm: Explain the usage of the relative_path var of attachment_path.
rht9441bca28262
diff --git a/zerver/lib/import_realm.py b/zerver/lib/import_realm.pyindex cc52e03e653..68d8235f6bd 100644--- a/zerver/lib/import_realm.py+++ b/zerver/lib/import_realm.py@@ -774,7 +774,10 @@ def import_uploads(record["last_modified"] = timestampelse:# Should be kept in sync with its equivalent in zerver/lib/uploads in the- # function 'upload_message_file'+ # function 'upload_message_file'.+ # This relative_path is basically the new location of the file,+ # which will later be copied from its original location as+ # specified in record["s3_path"].relative_path = "/".join([str(record["realm_id"]),