diff --git a/app/components/post_textbox/index.js b/app/components/post_textbox/index.js index a24489d00..23d60c155 100644 --- a/app/components/post_textbox/index.js +++ b/app/components/post_textbox/index.js @@ -24,7 +24,7 @@ function mapStateToProps(state, ownProps) { const currentDraft = ownProps.rootId ? getThreadDraft(state, ownProps.rootId) : getCurrentChannelDraft(state); return { - channelId: getCurrentChannelId(state), + channelId: ownProps.channelId || getCurrentChannelId(state), canUploadFiles: canUploadFilesOnMobile(state), channelIsLoading: state.views.channel.loading, currentUserId: getCurrentUserId(state),