Protocol handler for deep linking to channel in desktop or mobile app
Use a protocol handler to get to channels within the desktop app with a format like:
"mattermost://channel?id=#{mattermostchannelid}&team=#{course.mattermostteamid}"
Something similar could be implemented in the mobile apps too.
Some open questions:
- what happens if someone clicks the deep link but doesn't have the app open or installed?
- should the deep link work for public channels only?
![](https://secure.gravatar.com/avatar/34e58714874b2e18f0f210b5e80e6fe6?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
MitchC commented
Deep linking should work for all channels public or private. It should not open in the browser first if using the mattermost:// protocol (and can't). This would be similar to how slack and teams handles it for mobile and desktop and allow for most scenarios.
-
Gabe Van Engel commented
Links in email notifications should open in a browser, then test for mattermost:// protocol support and attempt to open in the desktop app instead.