mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
import_realm: Fix docstring of fix_message_rendered_content.
The docstring was misleading talking about the import from non-Zulip platforms, when this function is also very much applicable for Zulip-to-Zulip imports.
This commit is contained in:
committed by
Tim Abbott
parent
9d33c94f2d
commit
878d46ea49
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user