From 1a5a6244701615b4f085bb5337d92c2809ac95d3 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Tue, 4 Oct 2016 13:51:38 +0100 Subject: Fix import of Slack file_comment messages. (#4132) At the moment, the importer fails to parse the JSON of these types of message, and so ignores them. This fix means they are now parsed and imported just as if they were standalone messages (not file comments), which is better, and what the existing code clearly intended to happen. For the future, they should probably be changed to be imported as replies to the message with the file attached that they are commenting on. Fixes #4131. --- i18n/en.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'i18n') diff --git a/i18n/en.json b/i18n/en.json index 7362d5ce7..2b5a1e095 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1547,6 +1547,10 @@ "id": "api.slackimport.slack_add_posts.bot.warn", "translation": "Slack bot posts are not imported yet" }, + { + "id": "api.slackimport.slack_add_posts.msg_no_comment.debug", + "translation": "File comment message without comment" + }, { "id": "api.slackimport.slack_add_posts.msg_no_usr.debug", "translation": "Message without user" -- cgit v1.2.3-1-g7c22