You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Slack is removing usernames ([see changelog|https://api.slack.com/changelog/2017-09-the-one-about-usernames]) and is pushing people to mention users with the userid instead.
Hence, to maintain Slack-compatibility, we should add support for integrations to
a) Make a webhook post with the following payload: {"text": "hey <@beqkgo4wzbn98kjzjgc1p5n91o>"}
b) When the message is posted, "<@beqkgo4wzbn98kjzjgc1p5n91o>" should render as a user mention, such as:
use special mentions for at-channel, at-here and at-all via "<!channel>", "<!here>" and "<!all>", respectively.
Example:
a) Make a webhook post with the following payload: {"text": "hey <!here>"}
b) When the message is posted, "!here@beqkgo4wzbn98kjzjgc1p5n91o" should render as "@here":
NOTE: This change should be on the server-side, and only affect webhooks and custom slash commands.
The text was updated successfully, but these errors were encountered:
jasonblais
changed the title
[Help Wanted] [PLT-7824] Slack-compatible webhooks: Support mentions with and
[Help Wanted] [PLT-7824] Slack-compatible webhooks: Support mentions with <@userid> and <!here>
Oct 12, 2017
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide, specifically for machine setup and for developer workflow.
Notes: Jira ticket
Slack integrations support
Slack is removing usernames ([see changelog|https://api.slack.com/changelog/2017-09-the-one-about-usernames]) and is pushing people to mention users with the userid instead.
Hence, to maintain Slack-compatibility, we should add support for integrations to
Example:
a) Make a webhook post with the following payload: {"text": "hey <@beqkgo4wzbn98kjzjgc1p5n91o>"}
b) When the message is posted, "<@beqkgo4wzbn98kjzjgc1p5n91o>" should render as a user mention, such as:
Example:
a) Make a webhook post with the following payload: {"text": "hey <!here>"}
b) When the message is posted, "!here@beqkgo4wzbn98kjzjgc1p5n91o" should render as "@here":
NOTE: This change should be on the server-side, and only affect webhooks and custom slash commands.
The text was updated successfully, but these errors were encountered: