diff --git a/app/components/post_draft/draft_input/index.js b/app/components/post_draft/draft_input/index.js index def9f4d1a..ca2d76d76 100644 --- a/app/components/post_draft/draft_input/index.js +++ b/app/components/post_draft/draft_input/index.js @@ -53,7 +53,7 @@ export function mapStateToProps(state, ownProps) { ); } - if (isMinimumServerVersion(state.entities.general.serverVersion, 5, 24) && license && license.IsLicensed === 'true') { + if (channel && isMinimumServerVersion(state.entities.general.serverVersion, 5, 24) && license && license.IsLicensed === 'true') { useGroupMentions = haveIChannelPermission( state, {