summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-10-19 22:59:01 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-10-19 22:59:01 +0500
commit5135986a3b13c0a4474dbbca683d89ffbc1dead5 (patch)
tree42e511c01a0e707356091fd4d09911eb18b8ca20 /web/react/utils
parent2d42aefeafd2a0bea6419a6ef79c0c9b1fd313eb (diff)
parentfd69910fab332642a7793e64064169e89eb0c3de (diff)
downloadchat-5135986a3b13c0a4474dbbca683d89ffbc1dead5.tar.gz
chat-5135986a3b13c0a4474dbbca683d89ffbc1dead5.tar.bz2
chat-5135986a3b13c0a4474dbbca683d89ffbc1dead5.zip
Merge branch 'master' of https://github.com/mattermost/platform into ui-improvements
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/constants.jsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx
index b7b8d3c60..5eb8378ca 100644
--- a/web/react/utils/constants.jsx
+++ b/web/react/utils/constants.jsx
@@ -47,6 +47,18 @@ module.exports = {
SERVER_ACTION: null,
VIEW_ACTION: null
}),
+
+ SocketEvents: {
+ POSTED: 'posted',
+ POST_EDITED: 'post_edited',
+ POST_DELETED: 'post_deleted',
+ CHANNEL_VIEWED: 'channel_viewed',
+ NEW_USER: 'new_user',
+ USER_ADDED: 'user_added',
+ USER_REMOVED: 'user_removed',
+ TYPING: 'typing'
+ },
+
SPECIAL_MENTIONS: ['all', 'channel'],
CHARACTER_LIMIT: 4000,
IMAGE_TYPES: ['jpg', 'gif', 'bmp', 'png', 'jpeg'],