Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ms_teams_importer: Tidy up process_messages's parameters.
PieterCKfe286c6c88f5
diff --git a/zerver/data_import/microsoft_teams.py b/zerver/data_import/microsoft_teams.pyindex a1c801e221f..2541815b4e8 100644--- a/zerver/data_import/microsoft_teams.py+++ b/zerver/data_import/microsoft_teams.py@@ -402,9 +402,8 @@ def is_microsoft_teams_event_message(message: MicrosoftTeamsFieldsT) -> bool:def process_messages(added_teams: dict[str, TeamMetadata],- domain_name: str,channel_metadata: None | dict[str, ChannelMetadata],- is_private: bool,+ domain_name: str,messages: list[MicrosoftTeamsFieldsT],microsoft_teams_user_id_to_zulip_user_id: MicrosoftTeamsUserIdToZulipUserIdT,realm: dict[str, Any],@@ -566,12 +565,11 @@ def convert_messages(added_teams=added_teams,channel_metadata=microsoft_teams_channel_metadata,domain_name=domain_name,- is_private=False,messages=message_chunk,microsoft_teams_user_id_to_zulip_user_id=microsoft_teams_user_id_to_zulip_user_id,- subscriber_map=subscriber_map,realm=realm,realm_id=realm_id,+ subscriber_map=subscriber_map,)create_converted_data_files(