From 6f1489b7882db6d95a05e43294d0107435974eba Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Mon, 2 May 2016 12:50:17 -0400 Subject: Removed @all mention suggestion (#2845) --- webapp/components/suggestion/at_mention_provider.jsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'webapp/components/suggestion/at_mention_provider.jsx') diff --git a/webapp/components/suggestion/at_mention_provider.jsx b/webapp/components/suggestion/at_mention_provider.jsx index 79ac8aaf1..760f048bd 100644 --- a/webapp/components/suggestion/at_mention_provider.jsx +++ b/webapp/components/suggestion/at_mention_provider.jsx @@ -101,13 +101,8 @@ export default class AtMentionProvider { } } - //Don't imply that @all and @channel can be direct messaged if (!pretext.startsWith('/msg')) { - // add dummy users to represent the @all and @channel special mentions - if ('all'.startsWith(usernamePrefix)) { - filtered.push({username: 'all'}); - } - + // add dummy users to represent the @channel special mention when not using the /msg command if ('channel'.startsWith(usernamePrefix)) { filtered.push({username: 'channel'}); } -- cgit v1.2.3-1-g7c22