Fix create post when channel is group message (#407)
This commit is contained in:
parent
e6a1c1a433
commit
fbe753be67
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue