diff options
author | David Meza <dmeza@users.noreply.github.com> | 2017-07-31 07:24:13 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-07-31 08:24:13 -0400 |
commit | f740698dbe06816921d2a20eea876c9ca7b515ed (patch) | |
tree | df5c9f4f076c6294da8246275a97133f59b5a82f /webapp/utils/channel_intro_messages.jsx | |
parent | 22fa48f455f15be7a7528501431841a2c7d84c85 (diff) | |
download | chat-f740698dbe06816921d2a20eea876c9ca7b515ed.tar.gz chat-f740698dbe06816921d2a20eea876c9ca7b515ed.tar.bz2 chat-f740698dbe06816921d2a20eea876c9ca7b515ed.zip |
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.
Diffstat (limited to 'webapp/utils/channel_intro_messages.jsx')
-rw-r--r-- | webapp/utils/channel_intro_messages.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
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} /> </div> <div className='channel-intro-profile'> @@ -121,6 +122,7 @@ export function createDMIntroMessage(channel, centeredIntro) { <UserProfile user={teammate} disablePopover={false} + hasMention={true} /> </strong> </div> |