Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
data_import: Skip Slack "Posts" which we don't otherwise support.
Alex Vandiverc3cf1cd9d870
diff --git a/zerver/data_import/slack.py b/zerver/data_import/slack.pyindex 4f1ae26b61b..44c7505c304 100644--- a/zerver/data_import/slack.py+++ b/zerver/data_import/slack.py@@ -822,6 +822,11 @@ def get_messages_iterator(# change this to point to slackbot instead, but# skipping those messages is simpler.continue+ if message.get("mimetype") == "application/vnd.slack-docs":+ # This is a Slack "Post" which is HTML-formatted,+ # and we don't have a clean way to import at the+ # moment. We skip them on import.+ continueif dir_name in added_channels:message["channel_name"] = dir_nameelif dir_name in added_mpims: