(cherry picked from commit c3f86d1797)
Co-authored-by: Ashish Bhate <bhate.ashish@gmail.com>
This commit is contained in:
parent
142a04fac5
commit
c7cf32ebb8
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