From fbe753be67a27454cf8fca5cfed77edf10234f69 Mon Sep 17 00:00:00 2001 From: enahum Date: Mon, 27 Mar 2017 17:01:14 -0300 Subject: [PATCH] Fix create post when channel is group message (#407) --- app/scenes/channel/channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scenes/channel/channel.js b/app/scenes/channel/channel.js index 39b777a88..7500d4899 100644 --- a/app/scenes/channel/channel.js +++ b/app/scenes/channel/channel.js @@ -123,7 +123,7 @@ export default class Channel extends React.PureComponent { } let teamId = currentChannel.team_id; - if (currentChannel.type === Constants.DM_CHANNEL) { + if (currentChannel.type === Constants.DM_CHANNEL || currentChannel.type === Constants.GM_CHANNEL) { teamId = currentTeam.id; }