summaryrefslogtreecommitdiffstats
path: root/web/react/utils/constants.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-04 14:50:30 -0500
committerChristopher Speller <crspeller@gmail.com>2016-02-04 14:50:30 -0500
commitec51c31c325b3dc648a261f0e8634b6d70d7ba73 (patch)
tree1369b8d2bc406d54770d7ccf52b1e6a8bfedfc05 /web/react/utils/constants.jsx
parent44c19ee443831e0e94b5738ecb21a64ce7643247 (diff)
parent21318b7505babaebbb5174c62b75595b2936ebe0 (diff)
downloadchat-ec51c31c325b3dc648a261f0e8634b6d70d7ba73.tar.gz
chat-ec51c31c325b3dc648a261f0e8634b6d70d7ba73.tar.bz2
chat-ec51c31c325b3dc648a261f0e8634b6d70d7ba73.zip
Merge pull request #2064 from hmhealey/plt882
PLT-882 Ephemeral Messages and Out-Of-Channel mentions
Diffstat (limited to 'web/react/utils/constants.jsx')
-rw-r--r--web/react/utils/constants.jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx
index 11a8da669..c1bd41b88 100644
--- a/web/react/utils/constants.jsx
+++ b/web/react/utils/constants.jsx
@@ -12,6 +12,7 @@ export default {
LEAVE_CHANNEL: null,
CREATE_POST: null,
POST_DELETED: null,
+ REMOVE_POST: null,
RECIEVED_CHANNELS: null,
RECIEVED_CHANNEL: null,
@@ -78,7 +79,8 @@ export default {
USER_ADDED: 'user_added',
USER_REMOVED: 'user_removed',
TYPING: 'typing',
- PREFERENCE_CHANGED: 'preference_changed'
+ PREFERENCE_CHANGED: 'preference_changed',
+ EPHEMERAL_MESSAGE: 'ephemeral_message'
},
//SPECIAL_MENTIONS: ['all', 'channel'],
@@ -126,6 +128,7 @@ export default {
POST_LOADING: 'loading',
POST_FAILED: 'failed',
POST_DELETED: 'deleted',
+ POST_TYPE_EPHEMERAL: 'system_ephemeral',
POST_TYPE_JOIN_LEAVE: 'system_join_leave',
SYSTEM_MESSAGE_PREFIX: 'system_',
SYSTEM_MESSAGE_PROFILE_NAME: 'System',