From f740698dbe06816921d2a20eea876c9ca7b515ed Mon Sep 17 00:00:00 2001 From: David Meza Date: Mon, 31 Jul 2017 07:24:13 -0500 Subject: PLT-6486 Add an `@username` button to the profile popover, that puts the username in the post when clicked (#6349) * PLT-6486 Add an `@username` button to the profile popover, that puts the username in the post when clicked * PLT-6486 Display `@username` mention on the right text area on center or RHS. * Disable @mentions from profile popover on searches, mentions and pinned posts. Fix js errors. * Control undefined post in SearchStore that causes an exception. --- webapp/utils/channel_intro_messages.jsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'webapp/utils') diff --git a/webapp/utils/channel_intro_messages.jsx b/webapp/utils/channel_intro_messages.jsx index 6390f615c..baf6c4fb1 100644 --- a/webapp/utils/channel_intro_messages.jsx +++ b/webapp/utils/channel_intro_messages.jsx @@ -114,6 +114,7 @@ export function createDMIntroMessage(channel, centeredIntro) { width='50' height='50' user={teammate} + hasMention={true} />
@@ -121,6 +122,7 @@ export function createDMIntroMessage(channel, centeredIntro) {
-- cgit v1.2.3-1-g7c22