mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +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]
|
realm: Realm, sender_map: Dict[int, Record], messages: List[Record]
|
||||||
) -> None:
|
) -> None:
|
||||||
"""
|
"""
|
||||||
This function sets the rendered_content of all the messages
|
This function sets the rendered_content of the messages we're importing.
|
||||||
after the messages have been imported from a non-Zulip platform.
|
|
||||||
"""
|
"""
|
||||||
for message in messages:
|
for message in messages:
|
||||||
if message["rendered_content"] is not None:
|
if message["rendered_content"] is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user