summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorYi EungJun <semtlenori@gmail.com>2016-08-11 23:33:22 +0900
committerJoram Wilander <jwawilander@gmail.com>2016-08-11 10:33:22 -0400
commitd6da7d1220fe520a162560266182dff503b95786 (patch)
tree19ceb3851fff0bce43c149737e7bcbe15c570e6c /webapp/utils
parentbb0b895bad5cddbc0297d0857d10a531a6ca6755 (diff)
downloadchat-d6da7d1220fe520a162560266182dff503b95786.tar.gz
chat-d6da7d1220fe520a162560266182dff503b95786.tar.bz2
chat-d6da7d1220fe520a162560266182dff503b95786.zip
Change ordering of at-mention suggestions (#3698)
List members in the current channel first.
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/constants.jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index dbdc3e9f1..24d1d6b19 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -797,7 +797,10 @@ export const Constants = {
LICENSE_GRACE_PERIOD: 1000 * 60 * 60 * 24 * 15, // 15 days
PERMISSIONS_ALL: 'all',
PERMISSIONS_TEAM_ADMIN: 'team_admin',
- PERMISSIONS_SYSTEM_ADMIN: 'system_admin'
+ PERMISSIONS_SYSTEM_ADMIN: 'system_admin',
+ MENTION_MEMBERS: 'mention.members',
+ MENTION_NONMEMBERS: 'mention.nonmembers',
+ MENTION_SPECIAL: 'mention.special'
};
export default Constants;