Mattermost Reply In Channel Plugin
A Mattermost Plugin that adds a /ric slash command to Mattermost that lets you reply to a thread inline in the channel — similar to Slack's "Also send to channel" feature.
A Mattermost Plugin that adds a /ric slash command to Mattermost that lets you reply to a thread inline in the channel — similar to Slack's "Also send to channel" feature. Works on all platforms including web, desktop, iOS, and Android.
When you run /ric your message from within a thread, the plugin:
- Posts a formatted reply in the channel with a quote of the thread's root message and a clickable link back to the thread
- Posts your plain reply in the thread with a link to the channel post
What it looks like
In the channel
Replying to @erik's thread:
> Kinda cool to see rust sorta taking off in its own niche. It's a pretty cool language
its slowly taking over parts of the linux stack too isn't it?
The "Replying to @erik's thread" text is a clickable link that opens the thread.
In the thread
its slowly taking over parts of the linux stack too isn't it?
> Also sent to ~town-square
The "Also sent to ~town-square" is a clickable link to the channel post.
Usage
From within any thread, type:
/ric your reply message here
- Must be used from within a thread (not the main channel)
- The message cannot be empty
- Supports full Mattermost markdown, emoji, etc. in your reply
- File attachments are forwarded on a best-effort basis (see Limitations below)
Features
- Cross-platform: Works on web, desktop, and mobile (it's a server-side slash command)
- URL defanging: URLs in the quoted original message are wrapped in backticks to prevent duplicate link previews
- Blockquote stripping: Existing blockquotes in the original message are stripped to avoid nested quotes
- Long message truncation: Original messages over 200 characters are truncated in the quote
- Permalink support: Both the channel post and thread reply include clickable links to each other
- Live "view newer replies" link: When new replies are added to a thread that was shared via
/ric, the channel post automatically updates with a "view newer replies" link pointing to the latest reply - Bidirectional edit sync: Editing either the channel post or the thread post automatically syncs the change to the other — they behave as one post
- DM/GM support: Works in direct messages and group messages (picks the user's first team for permalink construction)
You can get the plugin at GitHub, follow the installation instructions there.