From f16687f83cea20f1ed3682226b60011097c85648 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Tue, 21 Aug 2018 20:53:32 +0800 Subject: [MM-11593] Prevent user to remove from a direct channel (#9251) * prevent user to remove from a direct channel * only allow removing of a member in private or public channel --- i18n/en.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'i18n') diff --git a/i18n/en.json b/i18n/en.json index 19c92a0b4..84ca057e5 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -231,6 +231,10 @@ "id": "api.channel.remove.default.app_error", "translation": "Cannot remove user from the default channel {{.Channel}}" }, + { + "id": "api.channel.remove_channel_member.type.app_error", + "translation": "Cannot remove user from a channel." + }, { "id": "api.channel.remove_member.removed", "translation": "%v removed from the channel." -- cgit v1.2.3-1-g7c22