summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-06-29 15:20:49 -0400
committerJoramWilander <jwawilander@gmail.com>2015-06-29 15:20:49 -0400
commit2d3ef0b0510e4c0be49cb6025e312fcb932789fd (patch)
tree0d639af3121043c69f6178bde3a50cf93c942140 /web/react/utils
parent7b7e73fb9290a8084989a4219681c636670e7555 (diff)
downloadchat-2d3ef0b0510e4c0be49cb6025e312fcb932789fd.tar.gz
chat-2d3ef0b0510e4c0be49cb6025e312fcb932789fd.tar.bz2
chat-2d3ef0b0510e4c0be49cb6025e312fcb932789fd.zip
@all and @channel now auto-complete
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/constants.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx
index e5f42c8a0..f3f3399d9 100644
--- a/web/react/utils/constants.jsx
+++ b/web/react/utils/constants.jsx
@@ -36,6 +36,7 @@ module.exports = {
SERVER_ACTION: null,
VIEW_ACTION: null
}),
+ SPECIAL_MENTIONS: ['all', 'channel'],
CHARACTER_LIMIT: 4000,
IMAGE_TYPES: ['jpg', 'gif', 'bmp', 'png'],
AUDIO_TYPES: ['mp3', 'wav', 'wma', 'm4a', 'flac', 'aac'],