diff --git a/app/components/markdown/markdown_link/markdown_link.js b/app/components/markdown/markdown_link/markdown_link.js index 7c5e64da9..67aa5ca77 100644 --- a/app/components/markdown/markdown_link/markdown_link.js +++ b/app/components/markdown/markdown_link/markdown_link.js @@ -59,7 +59,7 @@ export default class MarkdownLink extends PureComponent { if (match) { if (match.type === DeepLinkTypes.CHANNEL) { const {intl} = this.context; - this.props.actions.handleSelectChannelByName(match.channelName, match.teamName, errorBadChannel(intl)); + this.props.actions.handleSelectChannelByName(match.channelName, match.teamName, errorBadChannel.bind(null, intl)); } else if (match.type === DeepLinkTypes.PERMALINK) { onPermalinkPress(match.postId, match.teamName); }