diff options
author | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2017-04-27 15:27:31 +0200 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-04-27 09:27:31 -0400 |
commit | f5d9010f9a2670e09587cd6b0e5b8c3296c8d4b4 (patch) | |
tree | fe4242614bbff40fc9e1071c0309004c8fed0354 /webapp/components/suggestion/at_mention_provider.jsx | |
parent | 4e086311ad869a2de6a115afa0ae9bf56ad8639e (diff) | |
download | chat-f5d9010f9a2670e09587cd6b0e5b8c3296c8d4b4.tar.gz chat-f5d9010f9a2670e09587cd6b0e5b8c3296c8d4b4.tar.bz2 chat-f5d9010f9a2670e09587cd6b0e5b8c3296c8d4b4.zip |
implement fix for PLT-6383 - Add "CAUTION" to @all auto-complete (#6240)
Diffstat (limited to 'webapp/components/suggestion/at_mention_provider.jsx')
-rw-r--r-- | webapp/components/suggestion/at_mention_provider.jsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/webapp/components/suggestion/at_mention_provider.jsx b/webapp/components/suggestion/at_mention_provider.jsx index 4d55e9db6..09cc1ec03 100644 --- a/webapp/components/suggestion/at_mention_provider.jsx +++ b/webapp/components/suggestion/at_mention_provider.jsx @@ -4,7 +4,6 @@ import Suggestion from './suggestion.jsx'; import Provider from './provider.jsx'; -import ChannelStore from 'stores/channel_store.jsx'; import UserStore from 'stores/user_store.jsx'; import {autocompleteUsersInChannel} from 'actions/user_actions.jsx'; @@ -31,10 +30,7 @@ class AtMentionSuggestion extends Suggestion { description = ( <FormattedMessage id='suggestion.mention.all' - defaultMessage='Notifies everyone in the channel, use in {townsquare} to notify the whole team' - values={{ - townsquare: ChannelStore.getByName('town-square').display_name - }} + defaultMessage='CAUTION: This mentions everyone in channel' /> ); icon = <i className='mention__image fa fa-users fa-2x'/>; |