Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

import_realm: Fix docstring of fix_message_rendered_content.

Mateusz Mandera878d46ea49c2
diff --git a/zerver/lib/import_realm.py b/zerver/lib/import_realm.py
index dbc9e9cde07..5e9c619be7f 100644
--- a/zerver/lib/import_realm.py
+++ b/zerver/lib/import_realm.py
@@ -327,8 +327,7 @@ def fix_message_rendered_content(
realm: Realm, sender_map: Dict[int, Record], messages: List[Record]
) -> None:
"""
- This function sets the rendered_content of all the messages
- after the messages have been imported from a non-Zulip platform.
+ This function sets the rendered_content of the messages we're importing.
"""
for message in messages:
if message["rendered_content"] is not None: