[MM-28980] Inconsistent behaviour in channel mentions in message attachments #15740
Labels
Area/Integrations
A mattermost integration (plugin, integration, etc)
Difficulty/2:Medium
Medium ticket
Hacktoberfest
Help Wanted
Community help wanted
PR Exists
Tech/React Native
Mobile app
Tech/ReactJS
Web app
Summary
This ticket was originally filed on Jira: https://mattermost.atlassian.net/browse/MM-28980
When creating a channel mention link with
fmt.Sprintf("~%s", channel.Name)
in a message attachment, the behaviour is both inconsistent and buggy:Steps to reproduce
Expected behavior
The link should in all cases redirect to the channel without a page refresh nor opening a different tab.
Possible fixes
For the mobile problem, probably the text is just not parsed through the Markdown parser.
For webapp, there might be problems in the markdown parser, so it mark the links properly as internal links.
The text was updated successfully, but these errors were encountered: