[MM-31778]: fix false error message on channel join (#5098)
This commit is contained in:
parent
86ae89d3eb
commit
c3f86d1797
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue